// This file is part of the mcl project. // Copyright (c) 2022 merryhime // SPDX-License-Identifier: MIT #pragma once #include #include "mcl/mp/metavalue/value.hpp" namespace mcl::mp { /// Conditionally select between types T and F based on boolean metavalue V template using logic_if = std::conditional_t; /// Conditionally select between metavalues T and F based on boolean metavalue V template constexpr auto logic_if_v = logic_if::value; } // namespace mcl::mp