Changeset 10976 for code/branches/cpp11_v2/src/libraries/util/MultiType.h
- Timestamp:
- Dec 25, 2015, 9:07:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/util/MultiType.h
r10845 r10976 428 428 } 429 429 /// Creates a new value container (works only with specialized types). 430 template <typename T> inline void createNewValueContainer(const T& value) { /* STATIC ASSERT */ *****value; } 430 template <typename T> inline void createNewValueContainer(const T& value) 431 { 432 static_assert(sizeof(T) != sizeof(T), "No template specialization available for T"); 433 } 431 434 432 435 MT_ValueBase* value_; //!< A pointer to the value container
Note: See TracChangeset
for help on using the changeset viewer.










