Commit Graph
12 Commits
Author SHA1 Message Date
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 6b2982a385 Removed unneded macros that pollute user code. 2014-08-27 23:20: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
Ion Gaztañaga 86f1c4dc87 Enable MSVC extensions. /Za is buggy and unrecommended. It breaks rvalue references in newer MSVC compilers. 2014-08-22 18:29:28 +02:00
Ion Gaztañaga 3c56780e0e - Splitted utility.hpp into utility_core.hpp and utility.hpp. The first one implements move() and forward() minimizing external dependencies. utility.hpp includes utility_core.hpp and implemente move_if_noexcept.cpp
- Changed move_if_noexcept with a single function

- Changed test case to use boost/core/lightweight_test.hpp

- Added boost::is_nothrow_move_constructible<T>::value to  is_nothrow_move_constructible_or_uncopyable so types with only a non-throwing move constructor is forwarded with move_if_noexcept.

-
2014-08-18 02:03:35 +02:00
Ion Gaztañaga 062000ed68 Added BOOST_MOVE_RET 2014-02-15 23:04:15 +01:00
Ion Gaztañaga cda22a37bc Added newly fixed bug to changelog
[SVN r82207]
2012-12-25 23:13:30 +00:00
Ion Gaztañaga fb70dadc59 * Better header segregation (bug
[@https://svn.boost.org/trac/boost/ticket/6524 #6524]).
*  Small documentation fixes
*  Replaced deprecated BOOST_NO_XXXX with newer BOOST_NO_CXX11_XXX macros.

[SVN r81515]
2012-11-24 21:03:23 +00:00
Ion Gaztañaga da8c25e0af Code cleanup
[SVN r74098]
2011-08-28 09:41:10 +00:00
Ion Gaztañaga d4983b7afe Added to trunk
[SVN r70067]
2011-03-17 16:41:04 +00:00