1
0
Fork 0
mirror of https://github.com/bolero-MURAKAMI/Sprout synced 2025-08-03 12:49:50 +00:00

add pointer_cast

This commit is contained in:
bolero-MURAKAMI 2014-11-28 16:19:07 +09:00
parent 897d1e25b6
commit fbb95d9068
36 changed files with 553 additions and 72 deletions

View file

@ -11,7 +11,7 @@
#include <sprout/config.hpp>
namespace sprout {
namespace noncopyable_ {
namespace noncopyable_detail {
class noncopyable {
protected:
SPROUT_CONSTEXPR noncopyable() SPROUT_DEFAULTED_DEFAULT_CONSTRUCTOR_DECL
@ -20,11 +20,11 @@ namespace sprout {
noncopyable(noncopyable const&) SPROUT_DELETED_FUNCTION_DECL
noncopyable& operator=(noncopyable const&) SPROUT_DELETED_FUNCTION_DECL
};
} // namespace noncopyable_
} // namespace noncopyable_detail
//
// noncopyable
//
typedef sprout::noncopyable_::noncopyable noncopyable;
typedef sprout::noncopyable_detail::noncopyable noncopyable;
} // namespace sprout
#endif // #ifndef SPROUT_UTILITY_NONCOPYABLE_HPP