ALib C++ Library
Library Version: 2510 R0
Documentation generated by doxygen
Loading...
Searching...
No Matches
iterablebitset.inl
Go to the documentation of this file.
1//==================================================================================================
2/// \file
3/// This header-file is part of the module \alib_enumops of the \aliblong.
4///
5/// \emoji :copyright: 2013-2025 A-Worx GmbH, Germany.
6/// Published under \ref mainpage_license "Boost Software License".
7//==================================================================================================
8ALIB_EXPORT namespace alib { namespace enumops{
9
10//==================================================================================================
11/// This is a type alias (using statement) that is available (enabled) for enumerations for
12/// which the type trait \alib{enumops;IterableTraits} is specialized.
13/// With this, the interface methods of templated class \alib{lang;TBitSet} accept and return
14/// enumeration elements.
15///
16/// @see For a quick tutorial on the use of this type, see chapter
17/// \ref alib_enums_iter_bitset "3.5 Using Class TBitSet with Iterable Enums" of the Programmer's
18/// Manual of the module \alib_enumops_nl.
19///
20/// @tparam TEnum The enum type to use with class \alib{lang;TBitSet}.
21//==================================================================================================
22template<typename TEnum>
23requires alib::enumops::IsIterable<TEnum>
26} // namespace alib[::enumops::]
27
28/// Type alias in namespace \b alib.
29/// @see For more information, consult type definition \alib{enumops;EnumBitSet}.
30template<typename TEnum>
34
35} // namespace [alib]
#define ALIB_EXPORT
Definition alib.inl:488
lang::TBitSet< TEnum, IterableTraits< TEnum >::End, IterableTraits< TEnum >::Begin > EnumBitSet
lang::TBitSet< TEnum, enumops::IterableTraits< TEnum >::End, enumops::IterableTraits< TEnum >::Begin > EnumBitSet
static constexpr TEnum Begin
Definition iterable.inl:59