From a4267d60dfb366d95d05cc31a8535ce2381e63d4 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 4 Jun 2022 23:44:22 +0200 Subject: [PATCH] Add usage of emplace with tuple --- example/ex11-json01.c | 1 + 1 file changed, 1 insertion(+) diff --git a/example/ex11-json01.c b/example/ex11-json01.c index 9eba8e21..3f6eae67 100644 --- a/example/ex11-json01.c +++ b/example/ex11-json01.c @@ -48,6 +48,7 @@ int main(void) M_LET(base, base_t) { // Read the JSON file and fill-in base read(base, "ex11-json01.json"); + base_emplace_back(base, STRING_CTE("John"), 40, false); // Print the contents of base: printf ("List of presents:\n"); for M_EACH(el, base, base_t) {