forked from mpusz/mp-units
config.h support removed as it causes issues with compiler-explorer
This commit is contained in:
@@ -22,22 +22,10 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <units/bits/config.h>
|
||||
#include <experimental/ranges/concepts>
|
||||
|
||||
namespace std {
|
||||
|
||||
#ifndef UNITS_HAS_STD_TYPE_IDENTITY
|
||||
|
||||
// type_identity
|
||||
template<typename T>
|
||||
struct type_identity { using type = T; };
|
||||
|
||||
template<typename T>
|
||||
using type_identity_t = typename type_identity<T>::type;
|
||||
|
||||
#endif // UNITS_HAS_STD_TYPE_IDENTITY
|
||||
|
||||
// concepts
|
||||
using experimental::ranges::same_as;
|
||||
using experimental::ranges::derived_from;
|
||||
|
||||
Reference in New Issue
Block a user