Ion Gaztañaga
0bb4e06cff
Removed commented code.
2015-01-08 16:03:04 +01:00
Ion Gaztañaga
ab39252039
Use lightweight test.
2015-01-04 02:11:09 +01:00
Ion Gaztañaga
8503b508e8
Reduced dependencies on other Boost libraries to make the library a bit more lightweight.
2015-01-02 18:34:14 +01:00
Ion Gaztañaga
910165c230
Added test for adl_move_swap.cpp
...
For move-emulation enabled types, if present, member swap is used, instead of the move-based swap.
2014-11-28 15:39:49 +01:00
Ion Gaztañaga
cbda10ecdd
Added adl_move_swap utility
2014-11-26 19:27:40 +01:00
Ion Gaztañaga
e43819d1d2
Added nothrow variants to unique_ptr
2014-10-10 22:03:47 +02:00
Ion Gaztañaga
76ab7093ae
Removed warnings in GCC 4.8 -Wall -pedantic
2014-09-25 16:45:22 +02:00
Ion Gaztañaga
4e7a046df2
Replaced <boost/move/utility.hpp> with <boost/move/utility_core.hpp> when possible to minimize dependencies.
2014-09-25 16:15:36 +02:00
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
d4d08ec10e
Remove non-move dependencies from headers to speed up compilations and avoid too many dependencies
2014-09-17 18:37:41 +02:00
Ion Gaztañaga
7349db265a
Fixed typo in assignment test
2014-09-02 23:34:53 +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
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
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
cb06d13448
Copyright updates.
2014-08-22 18:34:19 +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
bb00439e4f
Resolved conflicts when merging move_if_noexcept implementation
2014-08-17 16:42:31 +02:00
Ion Gaztañaga
acbf002199
Tabs replaced with spaces.
2014-08-01 17:30:13 +02:00
Antony Polukhin
688c5726f8
Add tests for move_if_noexcept
2014-06-06 12:43:34 +04:00
Ion Gaztañaga
51c9e874a8
Fixes #8420 and some clang errors.
2014-02-24 08:29:31 +01:00
Ion Gaztañaga
062000ed68
Added BOOST_MOVE_RET
2014-02-15 23:04:15 +01:00
Ion Gaztañaga
51dc02e043
Added a convertible guard to conversion-aware macro to avoid ambiguities in overloads.
...
[SVN r85659]
2013-09-12 21:56:02 +00:00
Ion Gaztañaga
55d5015a2b
Fix has_nothrow_move and avoid boost::has_nothrow_move<copyable>::value test as each compiler can deduce a different thing depending on its type analysis.
...
[SVN r85410]
2013-08-20 18:10:09 +00:00
Ion Gaztañaga
a7091d1009
Fixes #7969
...
[SVN r82706]
2013-02-03 20:42:26 +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
bdd17fdc07
Ticket #7031 : (back_|front_)move_insert_iterator::op= cannot take rvalue
...
[SVN r79432]
2012-07-11 22:35:00 +00:00
Ion Gaztañaga
664d8ba073
Updated documentation and tests to Boost.Container
...
[SVN r74156]
2011-08-30 12:53:03 +00:00
Ion Gaztañaga
d4983b7afe
Added to trunk
...
[SVN r70067]
2011-03-17 16:41:04 +00:00