Use get instead of template get in REAMD.md and docs in non-template context (#4846)

Signed-off-by: Andy Choi <ccpong516@gmail.com>
This commit is contained in:
Andy Choi
2025-10-30 17:23:04 +08:00
committed by GitHub
parent a6a92c19bf
commit cda9c1e3bd
23 changed files with 81 additions and 81 deletions
@@ -31,7 +31,7 @@ int main()
j["address"] = "744 Evergreen Terrace";
j["age"] = 60;
auto p = j.template get<ns::person>();
auto p = j.get<ns::person>();
std::cout << p.name << " (" << p.age << ") lives in " << p.address << std::endl;
}