[typetraits] Implement isValid function to generate class member introspection functors
* isValid can be used to generate a functor that can check whether an operation done with a type is valid * this patch also provides examples in form of a test and documentation
Showing
- dumux/common/typetraits/CMakeLists.txt 1 addition, 0 deletionsdumux/common/typetraits/CMakeLists.txt
- dumux/common/typetraits/isvalid.hh 99 additions, 0 deletionsdumux/common/typetraits/isvalid.hh
- test/common/CMakeLists.txt 1 addition, 0 deletionstest/common/CMakeLists.txt
- test/common/typetraits/CMakeLists.txt 1 addition, 0 deletionstest/common/typetraits/CMakeLists.txt
- test/common/typetraits/test_isvalid.cc 73 additions, 0 deletionstest/common/typetraits/test_isvalid.cc
Loading
Please register or sign in to comment