Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/toml++/impl/parser.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ TOML_NAMESPACE_START
/// A toml::parse_result.
TOML_NODISCARD
TOML_ALWAYS_INLINE
parse_result operator"" _toml(const char* str, size_t len)
parse_result operator""_toml(const char* str, size_t len)
{
return parse(std::string_view{ str, len });
}
Expand Down Expand Up @@ -374,7 +374,7 @@ TOML_NAMESPACE_START
/// A toml::parse_result.
TOML_NODISCARD
TOML_ALWAYS_INLINE
parse_result operator"" _toml(const char8_t* str, size_t len)
parse_result operator""_toml(const char8_t* str, size_t len)
{
return parse(std::u8string_view{ str, len });
}
Expand Down
2 changes: 1 addition & 1 deletion include/toml++/impl/path.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -790,7 +790,7 @@ TOML_NAMESPACE_START
/// \returns A #toml::path generated from the string literal.
TOML_NODISCARD
TOML_ALWAYS_INLINE
path operator"" _tpath(const char* str, size_t len)
path operator""_tpath(const char* str, size_t len)
{
return path(std::string_view{ str, len });
}
Expand Down
2 changes: 1 addition & 1 deletion tests/tests.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ TOML_ENABLE_WARNINGS;
TOML_NODISCARD
TOML_ATTR(const)
TOML_ALWAYS_INLINE
constexpr size_t operator"" _sz(unsigned long long n) noexcept
constexpr size_t operator""_sz(unsigned long long n) noexcept
{
return static_cast<size_t>(n);
}
Expand Down
6 changes: 3 additions & 3 deletions toml.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -3658,7 +3658,7 @@ TOML_NAMESPACE_START
{
TOML_NODISCARD
TOML_ALWAYS_INLINE
path operator"" _tpath(const char* str, size_t len)
path operator""_tpath(const char* str, size_t len)
{
return path(std::string_view{ str, len });
}
Expand Down Expand Up @@ -9712,7 +9712,7 @@ TOML_NAMESPACE_START

TOML_NODISCARD
TOML_ALWAYS_INLINE
parse_result operator"" _toml(const char* str, size_t len)
parse_result operator""_toml(const char* str, size_t len)
{
return parse(std::string_view{ str, len });
}
Expand All @@ -9721,7 +9721,7 @@ TOML_NAMESPACE_START

TOML_NODISCARD
TOML_ALWAYS_INLINE
parse_result operator"" _toml(const char8_t* str, size_t len)
parse_result operator""_toml(const char8_t* str, size_t len)
{
return parse(std::u8string_view{ str, len });
}
Expand Down