|
|
@@ -646,7 +646,7 @@ namespace _1wire_i_det { |
|
|
|
* \name 1-wire type interface concept
|
|
|
|
*/
|
|
|
|
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
|
|
|
|
requires not_<std::is_copy_constructible<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
|
|
|
|
*/
|
|
|
|
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
|
|
|
|
|
|
|
|
//!@}
|
|
|
|