Common Functions
-
namespace srs
-
namespace common
Functions
-
template<std::size_t bit_size, std::size_t max, std::size_t min = 0>
std::bitset<max - min> subset(const std::bitset<bit_size> &bits)
-
template<std::size_t high_size, std::size_t low_size>
std::bitset<high_size + low_size> merge_bits(const std::bitset<high_size> &high_bits, const std::bitset<low_size> &low_bits)
-
template<std::size_t low_size, std::size_t total_size>
std::bitset<low_size> get_low_bits(const std::bitset<total_size> &bits)
-
template<std::size_t high_size, std::size_t total_size>
std::bitset<high_size> get_high_bits(const std::bitset<total_size> &bits)
-
template<typename Enum>
auto get_enum_names()
-
std::string insert_index_to_filename(std::string_view native_name, int idx)
-
inline std::filesystem::path get_default_log_path()
-
inline std::filesystem::path get_default_config_path()
-
inline std::expected<std::size_t, std::string> get_file_size(std::string_view filename)
-
template<std::size_t bit_size, std::size_t max, std::size_t min = 0>
-
namespace common