This commit is contained in:
SoftFever committed 2023-08-09 13:42:41 +08:00
1 parent a4c632026f
commit 37c54aa4f6
128 files changed
+692 -2478

No files matched your search

+3 -3
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: