/* This file is part of the mp project. * Copyright (c) 2020 MerryMage * SPDX-License-Identifier: 0BSD */ #pragma once #include #include namespace 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 mp