mirror of
https://github.com/red0124/ssp.git
synced 2025-01-23 13:05:20 +01:00
20 lines
411 B
C++
20 lines
411 B
C++
|
#pragma once
|
||
|
#include <vector>
|
||
|
|
||
|
namespace ss {
|
||
|
|
||
|
struct none {};
|
||
|
|
||
|
using string_range = std::pair<const char*, const char*>;
|
||
|
using split_data = std::vector<string_range>;
|
||
|
|
||
|
constexpr inline auto default_delimiter = ",";
|
||
|
|
||
|
template <bool StringError>
|
||
|
inline void assert_string_error_defined() {
|
||
|
static_assert(StringError,
|
||
|
"'string_error' needs to be enabled to use 'error_msg'");
|
||
|
}
|
||
|
|
||
|
} /* ss */
|