libdpf/include/dpf/literals.hpp

34 lines
1,007 B
C++
Raw Normal View History

/// @file dpf/literals.hpp
/// @brief Re-exports the user-defined literal namespaces.
/// @copyright Copyright (c) 2019-2026 Ryan Henry and [others](@ref authors)
/// @license Released under a GNU General Public v2.0 (GPLv2) license.
#ifndef LIBDPF_INCLUDE_DPF_LITERALS_HPP__
#define LIBDPF_INCLUDE_DPF_LITERALS_HPP__
#include "dpf/twobit.hpp"
#include "dpf/nyble.hpp"
namespace dpf
{
namespace literals
{
/// @brief Re-export of `N_uN` modint literals.
namespace modints{} using namespace dpf::literals::modints;
/// @brief Re-export of `N_xN` xint literals.
namespace xints{} using namespace dpf::literals::xints;
/// @brief Re-export of bitstring literals.
namespace bitstrings{} using namespace dpf::literals::bitstrings;
/// @brief Re-export of `_twobit`.
namespace twobit{} using namespace dpf::literals::twobit;
/// @brief Re-export of `_nyble`.
namespace nyble{} using namespace dpf::literals::nyble;
} // namespace literals
} // namespace dpf
#endif // LIBDPF_INCLUDE_DPF_LITERALS_HPP__