forked from Alepha/Alepha
Well this whole () base TMP experiment kinda works.
It's a lot of heavy lifting. I'm not sure it actually adds any useful value yet, but I'll continue to play with it. It is nice that we can *sometimes* use loops. Sometimes we can't though. And we have to make some blind-corner evaluations that throw dummy failures to keep the compiler from complaining about missing cases -- despite the fact that they;ll never be reached at compiletime. (Runtime evaluation could be different, of course.) I think, perhaps, a universal representation of a dereferenced iterator might solve some of this, but I also don't want to sink too much effort into this, despite how much fun I'm having.
This commit is contained in:
@ -25,9 +25,11 @@ namespace Alepha::Hydrogen
|
||||
|
||||
struct comparable {};
|
||||
|
||||
|
||||
namespace exports
|
||||
{
|
||||
using detail::comparisons::comparable;
|
||||
inline constexpr Meta::type_value< comparable > comparable_capability;
|
||||
}
|
||||
|
||||
template< typename T >
|
||||
|
Reference in New Issue
Block a user