Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 7, 2015, 10:46:11 PM (9 years ago)
Author:
landauf
Message:

using static_assert instead of BOOST_STATIC_ASSERT

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/cpp11_v2/src/libraries/core/class/Identifier.h

    r10769 r10774  
    8080#include <typeinfo>
    8181#include <loki/TypeTraits.h>
    82 #include <boost/static_assert.hpp>
    83 #include <boost/type_traits/is_base_of.hpp>
    8482
    8583#include "util/Output.h"
     
    269267    class ClassIdentifier : public Identifier
    270268    {
    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");
    272270
    273271        #ifndef DOXYGEN_SHOULD_SKIP_THIS
Note: See TracChangeset for help on using the changeset viewer.