Ion Gaztañaga
291a95c30a
Reduced unused classes from meta_utiles and simplified the implementation of several traits classes to avoid inheritance from integral_constant
...
Moved declval to utility_core.hpp
2014-09-22 00:15:30 +02:00
Ion Gaztañaga
3075014f2d
Added check for types with no virtual destructor when using default_delete and non-array types
2014-09-04 00:15:56 +02:00
Ion Gaztañaga
90be9ebe22
Extracted default_delete into its own header.
...
Extracted meta utilities used only by unique_ptr and friends to its own "unique_ptr_meta_utils.hpp" header.
2014-09-02 16:28:17 +02:00
Ion Gaztañaga
19d35253cf
Added support for bounded arrays in unique_ptr. Splitted test in several subtests.
2014-09-01 23:59:10 +02:00
Ion Gaztañaga
085a814cf2
Added missing typenames
2014-08-29 11:29:26 +02:00
Ion Gaztañaga
738e360f40
Improved move-only deleters in C++03, now they can be caught as rvalues.
2014-08-29 10:28:09 +02:00
Ion Gaztañaga
364ee17476
Simplified and improved unique_ptr implementation:
...
- No array specialization to avoid code duplication
- Constructible and assignable from literal zero
2014-08-27 23:21:36 +02:00
Ion Gaztañaga
a9bc0876cd
Added missing cstddef for std::nullptr_t
2014-08-23 00:32:30 +02:00
Ion Gaztañaga
e1da7c5ca1
Added class unique_ptr under boost::movelib namespace. This could be lifted to ::boost namespace if the community agrees.
...
This unique_ptr implementation is based on C++14, including make_unique functions. Large parte of the testsuite is based on Howard Hinnant's unique_ptr emulation testsuite.
2014-08-22 18:34:34 +02:00