search for: namedboolean

Displaying 1 result from an estimated 1 matches for "namedboolean".

2019 Aug 01
5
RFC: Strong typedef for LLVM
...g StrongTypedef::StrongTypedef; }; Bits size(32); Bytes alignment(4); void bar(Bytes size, Bytes alignment); bar(size, alignment); // Won't compile Boolean parameters are so common that it's convenient to have a special helper for them: template<typename Tag> class NamedBoolean : public StrongTypedef<Tag, bool>, public HasEqualityCompare<NamedBoolean<Tag>>, public HasLogicalConjunction<NamedBoolean<Tag>>, public HasLogicalDisjunction<NamedBoolean<Tag>> { public...