Commit Graph

2 Commits

Author SHA1 Message Date
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