/usr/include/boost/histogram/detail
Edit: /usr/include/boost/histogram/detail/replace_type.hpp (818B)
// Copyright 2019 Hans Dembinski
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt
// or copy at http://www.boost.org/LICENSE_1_0.txt)
#ifndef BOOST_HISTOGRAM_DETAIL_REPLACE_TYPE_HPP
#define BOOST_HISTOGRAM_DETAIL_REPLACE_TYPE_HPP
#include
#include
#include
namespace boost {
namespace histogram {
namespace detail {
template
using replace_type = std::conditional_t::value, To, T>;
template
using replace_default = replace_type;
template
using replace_cstring = replace_type;
} // namespace detail
} // namespace histogram
} // namespace boost
#endif