/******************************************************************************
The MIT License(MIT)

Embedded Template Library.
https://github.com/ETLCPP/etl
https://www.etlcpp.com

Copyright(c) 2026 John Wellbelove

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files(the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions :

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
******************************************************************************/

//***************************************************************************
// THIS FILE HAS BEEN AUTO GENERATED. DO NOT EDIT THIS FILE.
//***************************************************************************

//***************************************************************************
/// Template to determine if a type is one of a specified list.
///\ingroup types
template <typename T,
          typename T1, typename T2 = void, typename T3 = void, typename T4 = void,
          typename T5 = void, typename T6 = void, typename T7 = void, typename T8 = void,
          typename T9 = void, typename T10 = void, typename T11 = void, typename T12 = void,
          typename T13 = void, typename T14 = void, typename T15 = void, typename T16 = void>
struct is_one_of
{
  static const bool value =
      etl::is_same<T, T1>::value ||
      etl::is_same<T, T2>::value ||
      etl::is_same<T, T3>::value ||
      etl::is_same<T, T4>::value ||
      etl::is_same<T, T5>::value ||
      etl::is_same<T, T6>::value ||
      etl::is_same<T, T7>::value ||
      etl::is_same<T, T8>::value ||
      etl::is_same<T, T9>::value ||
      etl::is_same<T, T10>::value ||
      etl::is_same<T, T11>::value ||
      etl::is_same<T, T12>::value ||
      etl::is_same<T, T13>::value ||
      etl::is_same<T, T14>::value ||
      etl::is_same<T, T15>::value ||
      etl::is_same<T, T16>::value;
};
