@@ -646,7 +646,7 @@ namespace _1wire_i_det { | |||||
* \name 1-wire type interface concept | * \name 1-wire type interface concept | ||||
*/ | */ | ||||
template <typename T> | template <typename T> | ||||
concept bool _1wire_c = requires (T t, typename T::Speed s, _1wire_id_t id) { | |||||
concept bool _1Wire_i = requires (T t, typename T::Speed s, _1wire_id_t id) { | |||||
// Object type | // Object type | ||||
requires not_<std::is_copy_constructible<T>::value>::value; | requires not_<std::is_copy_constructible<T>::value>::value; | ||||
requires not_<std::is_copy_assignable<T>::value>::value; | requires not_<std::is_copy_assignable<T>::value>::value; | ||||
@@ -710,7 +710,7 @@ namespace _1wire_i_det { | |||||
* \return True if _Tp is a 1-wire interface | * \return True if _Tp is a 1-wire interface | ||||
*/ | */ | ||||
template <typename _Tp> | template <typename _Tp> | ||||
constexpr bool _1wire_c = _1wire_i_det::is_1wire_<_Tp>::value; | |||||
constexpr bool _1Wire_i = _1wire_i_det::is_1wire_<_Tp>::value; | |||||
#endif | #endif | ||||
//!@} | //!@} | ||||
@@ -227,7 +227,7 @@ namespace utl { | |||||
* i2c interface concept | * i2c interface concept | ||||
*/ | */ | ||||
template <typename T> | template <typename T> | ||||
concept bool i2c_c = requires (T t, const T ct, typename T::Sequence s) { | |||||
concept bool I2c_i = requires (T t, const T ct, typename T::Sequence s) { | |||||
// Object type | // Object type | ||||
requires not_<std::is_copy_constructible<T>::value>::value; | requires not_<std::is_copy_constructible<T>::value>::value; | ||||
requires not_<std::is_copy_assignable<T>::value>::value; | requires not_<std::is_copy_assignable<T>::value>::value; | ||||
@@ -276,7 +276,7 @@ namespace utl { | |||||
* \return True if _Tp is a i2c interface | * \return True if _Tp is a i2c interface | ||||
*/ | */ | ||||
template <typename _Tp> | template <typename _Tp> | ||||
constexpr bool i2c_c = i2c_i_details::is_i2c_<_Tp>::value; | |||||
constexpr bool I2c_i = i2c_i_details::is_i2c_<_Tp>::value; | |||||
#endif | #endif | ||||
//!@} | //!@} | ||||
@@ -275,12 +275,13 @@ namespace utl { | |||||
/*! | |||||
* i2c interface concept | |||||
*/ | |||||
//! @{ | |||||
#if defined _utl_have_concepts | #if defined _utl_have_concepts | ||||
/*! | |||||
* i2c interface concept | |||||
*/ | |||||
template <typename T> | template <typename T> | ||||
concept bool spi_c = requires (T t, const T ct, typename T::Sequence s) { | |||||
concept bool Spi_i = requires (T t, const T ct, typename T::Sequence s) { | |||||
// Object type | // Object type | ||||
requires not_<std::is_copy_constructible<T>::value>::value; | requires not_<std::is_copy_constructible<T>::value>::value; | ||||
requires not_<std::is_copy_assignable<T>::value>::value; | requires not_<std::is_copy_assignable<T>::value>::value; | ||||
@@ -321,10 +322,11 @@ namespace utl { | |||||
* \return True if _Tp is a spi interface | * \return True if _Tp is a spi interface | ||||
*/ | */ | ||||
template <typename _Tp> | template <typename _Tp> | ||||
constexpr bool spi_c = spi_i_details::is_spi_<_Tp>::value; | |||||
constexpr bool Spi_i = spi_i_details::is_spi_<_Tp>::value; | |||||
#endif | #endif | ||||
//!@} | |||||
//! @} | |||||
//! @} | |||||
} // namespace utl | } // namespace utl | ||||