This commit is contained in:
SoftFever 2023-08-09 13:06:58 +08:00
parent a4c632026f
commit 37c54aa4f6
128 changed files with 692 additions and 2478 deletions

View file

@ -10,7 +10,7 @@
#include <string_view>
// Test for nested namespace definition
namespace BambuStudio::Cpp17 {
namespace OrcaSlicer::Cpp17 {
template<class T> class Foo
{
@ -20,7 +20,7 @@ public:
explicit Foo(T &&arg): m_arg{arg} {}
};
} // namespace BambuStudio::Cpp17
} // namespace OrcaSlicer::Cpp17
template<class T> std::string get_type(const T &v);
@ -34,7 +34,7 @@ int main()
// Template argument deduction for class templates
// /////////////////////////////////////////////////////////////////////////
auto foo = BambuStudio::Cpp17::Foo{1.f};
auto foo = OrcaSlicer::Cpp17::Foo{1.f};
// /////////////////////////////////////////////////////////////////////////
// Structured bindings: