// © 2016 and later: Unicode, Inc. and others. // License & terms of use: http://www.unicode.org/copyright.html /* ****************************************************************************** * * Copyright (C) 2012,2014 International Business Machines * Corporation and others. All Rights Reserved. * ****************************************************************************** */ /** * \file * \brief C++: internal template EnumSet<> */ #ifndef ENUMSET_H #define ENUMSET_H #include "unicode/utypes.h" #if U_SHOW_CPLUSPLUS_API U_NAMESPACE_BEGIN /* Can't use #ifndef U_HIDE_INTERNAL_API for the entire EnumSet class, needed in .h file declarations */ /** * enum bitset for boolean fields. Similar to Java EnumSet<>. * Needs to range check. Used for private instance variables. * @internal * \cond */ template<typename T, uint32_t minValue, uint32_t limitValue> class EnumSet { … }; /** \endcond */ U_NAMESPACE_END #endif /* U_SHOW_CPLUSPLUS_API */ #endif /* ENUMSET_H */