forked from Alepha/Alepha
Convert comparisons more towards the modern namespace form.
This commit is contained in:
@ -11,19 +11,15 @@ static_assert( __cplusplus > 2020'99 );
|
||||
#include <Alepha/Capabilities.h>
|
||||
|
||||
|
||||
namespace Alepha::Hydrogen
|
||||
namespace Alepha::Hydrogen ::detail
|
||||
{
|
||||
namespace detail::comparisons_m
|
||||
namespace comparisons_m::inline exports
|
||||
{
|
||||
inline namespace exports {}
|
||||
|
||||
struct comparable {};
|
||||
}
|
||||
|
||||
namespace exports
|
||||
{
|
||||
using detail::comparisons_m::comparable;
|
||||
}
|
||||
|
||||
namespace comparisons_m
|
||||
{
|
||||
template< typename T >
|
||||
concept LensComparable= HasCapability< T, comparable >;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user