Changeset 46 in pacpusframework
- Timestamp:
- Jan 8, 2013, 11:52:19 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Pacpus/kernel/ComponentFactory.h
r45 r46 15 15 16 16 #include <cassert> 17 18 #include <boost/static_assert.hpp> 19 #include <boost/type_traits/is_base_of.hpp> 17 20 18 21 #include <Pacpus/kernel/ComponentFactoryBase.h> … … 40 43 : public ComponentFactoryBase 41 44 { 45 BOOST_STATIC_ASSERT_MSG((boost::is_base_of<ComponentBase, T>::value), "T must inherit from ComponentBase"); 42 46 public: 43 47 /** Ctor of ComponentFactory, initialize the factory of the components of type @em T.
Note:
See TracChangeset
for help on using the changeset viewer.