Add 'using namespace' to examples

This commit is contained in:
Florian Albrechtskirchinger 2022-07-25 15:21:11 +02:00
parent 1d3847295e
commit ae980ce527
No known key found for this signature in database
GPG Key ID: 19618CE9B2D4BE6D
31 changed files with 31 additions and 0 deletions

View File

@ -2,6 +2,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -2,6 +2,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -2,6 +2,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -4,6 +4,7 @@
using namespace std::string_view_literals;
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -2,6 +2,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -3,6 +3,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -3,6 +3,7 @@
#include <iomanip> // for std::setw
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -2,6 +2,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
namespace ns
{

View File

@ -2,6 +2,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
namespace ns
{

View File

@ -2,6 +2,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
namespace ns
{

View File

@ -2,6 +2,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
namespace ns
{

View File

@ -2,6 +2,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
namespace ns
{

View File

@ -2,6 +2,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
namespace ns
{

View File

@ -2,6 +2,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
namespace ns
{

View File

@ -2,6 +2,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
namespace ns
{

View File

@ -2,6 +2,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -2,6 +2,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -3,6 +3,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -3,6 +3,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -2,6 +2,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -3,6 +3,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -3,6 +3,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -3,6 +3,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -3,6 +3,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
// function to print BJData's diagnostic format
void print_byte(uint8_t byte)

View File

@ -3,6 +3,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -3,6 +3,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -3,6 +3,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -3,6 +3,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
// function to print UBJSON's diagnostic format
void print_byte(uint8_t byte)

View File

@ -3,6 +3,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -3,6 +3,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{

View File

@ -2,6 +2,7 @@
#include <nlohmann/json.hpp>
using json = nlohmann::json;
using namespace nlohmann::literals;
int main()
{