Changeset 10774 for code/branches/cpp11_v2/src/libraries/core/class
- Timestamp:
- Nov 7, 2015, 10:46:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/core/class/Identifier.h
r10769 r10774 80 80 #include <typeinfo> 81 81 #include <loki/TypeTraits.h> 82 #include <boost/static_assert.hpp>83 #include <boost/type_traits/is_base_of.hpp>84 82 85 83 #include "util/Output.h" … … 269 267 class ClassIdentifier : public Identifier 270 268 { 271 BOOST_STATIC_ASSERT((boost::is_base_of<Identifiable, T>::value));269 static_assert(std::is_base_of<Identifiable, T>::value, "ClassIdentifier can only be used with Identifiables"); 272 270 273 271 #ifndef DOXYGEN_SHOULD_SKIP_THIS
Note: See TracChangeset
for help on using the changeset viewer.