Skip to content
Closed
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
6 changes: 3 additions & 3 deletions adobe/name.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ namespace literals {

/**************************************************************************************************/

inline constexpr static_name_t operator"" _name(const char* str, std::size_t n);
inline constexpr static_name_t operator""_name(const char* str, std::size_t n);

/**************************************************************************************************/

Expand Down Expand Up @@ -161,7 +161,7 @@ struct static_name_t {

friend struct name_t;

friend constexpr static_name_t literals::operator"" _name(const char* str, std::size_t n);
friend constexpr static_name_t literals::operator""_name(const char* str, std::size_t n);

friend std::ostream& operator<<(std::ostream& s, const static_name_t& name);

Expand Down Expand Up @@ -202,7 +202,7 @@ namespace literals {
static_name_t foo("foo"_name); // OK
name_t bar("bar"_name); // OK
*/
inline constexpr static_name_t operator"" _name(const char* str, std::size_t n) {
inline constexpr static_name_t operator""_name(const char* str, std::size_t n) {
return static_name_t{str, detail::name_hash(str, n)};
}

Expand Down
2 changes: 1 addition & 1 deletion test/name/smoke.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ namespace {

/**************************************************************************************************/

inline std::ostream& operator"" _dump(const char* str, std::size_t n) {
inline std::ostream& operator""_dump(const char* str, std::size_t n) {
return std::cout << "dump: {\n"
<< " str: '" << str << "'\n"
<< " n: " << n << '\n'
Expand Down
Loading