Skip to content
Snippets Groups Projects

Unified interface for attributes

Merged Olivier BICHLER requested to merge unified_params into main
All threads resolved!
1 file
+ 2
2
Compare changes
  • Side-by-side
  • Inline
@@ -106,7 +106,7 @@ public:
}
template <typename R, std::size_t SIZE = std::tuple_size<std::tuple<T...>>::value-1>
constexpr typename std::enable_if<(SIZE <= 0), R&>::type get(std::size_t /*i*/) {
[[noreturn]] constexpr typename std::enable_if<(SIZE <= 0), R&>::type get(std::size_t /*i*/) {
assert(false && "parameter not found");
}
@@ -121,7 +121,7 @@ public:
}
template <std::size_t SIZE = std::tuple_size<std::tuple<T...>>::value-1>
constexpr typename std::enable_if<(SIZE <= 0), std::string>::type getType(std::size_t /*i*/) const {
[[noreturn]] constexpr typename std::enable_if<(SIZE <= 0), std::string>::type getType(std::size_t /*i*/) const {
assert(false && "parameter not found");
}
Loading