GSL.concept
GSL.concept: Concepts
These concepts (type predicates) are borrowed from Andrew Sutton's Origin library, the Range proposal, and the ISO WG21 Palo Alto TR. Many of them are very similar to what became part of the ISO C++ standard in C++20.
StringNumberBooleanRange// in C++20,std::ranges::rangeSortable// in C++20,std::sortableEqualityComparable// in C++20,std::equality_comparableConvertible// in C++20,std::convertible_toCommon// in C++20,std::common_withIntegral// in C++20,std::integralSignedIntegral// in C++20,std::signed_integralSemiRegular// in C++20,std::semiregularRegular// in C++20,std::regularTotallyOrdered// in C++20,std::totally_orderedFunction// in C++20,std::invocableRegularFunction// in C++20,std::regular_invocablePredicate// in C++20,std::predicateRelation// in C++20,std::relation- ...
GSL.ptr: Smart pointer concepts
Pointer// A type with*,->,==, and default construction (default construction is assumed to set the singular "null" value)Unique_pointer// A type that matchesPointer, is movable, and is not copyableShared_pointer// A type that matchesPointer, and is copyable