1 /* 2 * SObjectizer-5 3 */ 4 5 /*! 6 * \file 7 * \brief A simple metafunction that always "returns" false. 8 * 9 * \since 10 * v.5.6.0 11 */ 12 13 #pragma once 14 15 namespace so_5 { 16 17 namespace details { 18 19 /*! 20 * \brief A simple metafunction that always "returns" false. 21 * 22 * Can be used to trigger static_assert. 23 * 24 * \since 25 * v.5.6.0 26 */ 27 template<typename T> 28 struct always_false 29 { 30 static constexpr const bool value = false; 31 }; 32 33 } /* namespace details */ 34 35 } /* namespace so_5 */ 36 37