Rodin/Utility/HasValueMember.h file

Defines the HasValueMember type trait for detecting nested Value members.

Namespaces

namespace Rodin
The Rodin library for Shape and Topology Optimization.
namespace Rodin::Utility
Module containing general purpose and language support utility classes.

Classes

template<typename T, typename = void>
struct Rodin::Utility::HasValueMember
Type trait to detect if a type has a nested Value member type.
template<class T>
struct Rodin::Utility::HasValueMember<T, std::void_t<typename T::Value>>
Specialization for types that have a nested Value member type.