Changeset 10978 for code/branches/cpp11_v2
- Timestamp:
- Dec 25, 2015, 11:27:35 PM (9 years ago)
- Location:
- code/branches/cpp11_v2/src/libraries/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v2/src/libraries/util/Math.h
r10977 r10978 181 181 inline T zeroise() 182 182 { 183 // If you reach this code, you abused zeroise()! 183 184 static_assert(sizeof(T) != sizeof(T), "No template specialization available for T"); 184 185 } -
code/branches/cpp11_v2/src/libraries/util/MultiType.h
r10976 r10978 430 430 template <typename T> inline void createNewValueContainer(const T& value) 431 431 { 432 // If you reach this code, you used MultiType with an unsupported type T 432 433 static_assert(sizeof(T) != sizeof(T), "No template specialization available for T"); 433 434 }
Note: See TracChangeset
for help on using the changeset viewer.