Does using directives not work with concepts? why?
The example below doesn't work and I get a compiler error saying that it expected a type.
#include <concepts>
namespace A::X {
struct BaseA {};
template < typename AType >
concept DerivedFromA = std::derived_from < AType, BaseA >;
}
namespace A {
using DerivedFromA = X::DerivedFromA;
}
I want to be able to access concept DerivedFromA from namespace A as DerivedFromA rather than X::DerivedFromA