updated build system
This commit is contained in:
@@ -44,13 +44,13 @@ calculate_read_size(std::uint64_t total_size, std::size_t read_size,
|
||||
: read_size);
|
||||
}
|
||||
|
||||
[[nodiscard]] auto
|
||||
compare_version_strings(std::string version1,
|
||||
std::string version2) -> std::int32_t;
|
||||
[[nodiscard]] auto compare_version_strings(std::string version1,
|
||||
std::string version2)
|
||||
-> std::int32_t;
|
||||
|
||||
[[nodiscard]] auto
|
||||
compare_version_strings(std::wstring_view version1,
|
||||
std::wstring_view version2) -> std::int32_t;
|
||||
[[nodiscard]] auto compare_version_strings(std::wstring_view version1,
|
||||
std::wstring_view version2)
|
||||
-> std::int32_t;
|
||||
|
||||
#if defined(PROJECT_ENABLE_STDUUID)
|
||||
[[nodiscard]] auto create_uuid_string() -> std::string;
|
||||
@@ -59,12 +59,13 @@ compare_version_strings(std::wstring_view version1,
|
||||
#endif // defined(PROJECT_ENABLE_STDUUID)
|
||||
|
||||
template <typename result_t, typename data_t>
|
||||
[[nodiscard]] inline constexpr auto
|
||||
divide_with_ceiling(result_t numerator, data_t denominator) -> result_t;
|
||||
[[nodiscard]] inline constexpr auto divide_with_ceiling(result_t numerator,
|
||||
data_t denominator)
|
||||
-> result_t;
|
||||
|
||||
template <typename data_t>
|
||||
[[nodiscard]] inline auto generate_random_between(data_t begin,
|
||||
data_t end) -> data_t;
|
||||
[[nodiscard]] inline auto generate_random_between(data_t begin, data_t end)
|
||||
-> data_t;
|
||||
|
||||
[[nodiscard]] auto generate_random_string(std::size_t length) -> std::string;
|
||||
|
||||
@@ -78,22 +79,22 @@ template <typename data_t>
|
||||
[[nodiscard]] inline auto generate_secure_random(std::size_t size) -> data_t;
|
||||
#endif // defined(PROJECT_ENABLE_LIBSODIUM)
|
||||
|
||||
[[nodiscard]] auto
|
||||
get_environment_variable(std::string_view variable) -> std::string;
|
||||
[[nodiscard]] auto get_environment_variable(std::string_view variable)
|
||||
-> std::string;
|
||||
|
||||
[[nodiscard]] auto
|
||||
get_environment_variable(std::wstring_view variable) -> std::wstring;
|
||||
[[nodiscard]] auto get_environment_variable(std::wstring_view variable)
|
||||
-> std::wstring;
|
||||
|
||||
#if defined(PROJECT_ENABLE_BOOST)
|
||||
[[nodiscard]] auto
|
||||
get_next_available_port(std::uint16_t first_port,
|
||||
std::uint16_t &available_port) -> bool;
|
||||
[[nodiscard]] auto get_next_available_port(std::uint16_t first_port,
|
||||
std::uint16_t &available_port)
|
||||
-> bool;
|
||||
#endif // defined(PROJECT_ENABLE_BOOST)
|
||||
|
||||
[[nodiscard]] auto retry_action(retryable_action_t action,
|
||||
std::size_t retry_count = 200U,
|
||||
std::chrono::milliseconds retry_wait =
|
||||
std::chrono::milliseconds(10)) -> bool;
|
||||
[[nodiscard]] auto retry_action(
|
||||
retryable_action_t action, std::size_t retry_count = 200U,
|
||||
std::chrono::milliseconds retry_wait = std::chrono::milliseconds(10))
|
||||
-> bool;
|
||||
|
||||
template <typename result_t, typename data_t>
|
||||
inline constexpr auto divide_with_ceiling(result_t numerator,
|
||||
|
Reference in New Issue
Block a user