cemu-vcpkg/toolsrc/include/vcpkg/base/stringliteral.h
nicole mazzuca 6a41626eaf
[vcpkg] Format the C++ in CI (#11655)
* [vcpkg] Format the C++ in the CI

* format the C++

* CR
2020-07-06 16:45:34 -07:00

19 lines
337 B
C++

#pragma once
#include <string>
#include <vcpkg/base/zstringview.h>
namespace vcpkg
{
struct StringLiteral : ZStringView
{
template<int N>
constexpr StringLiteral(const char (&str)[N]) : ZStringView(str)
{
}
operator std::string() const { return std::string(data(), size()); }
};
}