We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3e8232d + 99bdcfe commit e2e21fdCopy full SHA for e2e21fd
src/libPMacc/include/traits/GetNComponents.hpp
@@ -35,7 +35,11 @@ namespace traits
35
* \return \p ::value as public with number of components (uint32_t)
36
*/
37
template<typename T_Type, bool T_IsFundamental = boost::is_fundamental<T_Type>::value>
38
-struct GetNComponents;
+struct GetNComponents
39
+{
40
+ PMACC_CASSERT_MSG_TYPE( __GetNComponents_is_not_defined_for_this_type, T_Type, false );
41
+ static constexpr uint32_t value = 0;
42
+};
43
44
/** return value=1 for al fundamental c++ types
45
0 commit comments