matt-42/iod
View on GitHub ↗ ★ 725 C++
Meta programming utilities for C++14. Merged in matt-42/lithium
12 mentions on Hacker News by 2 people: 6 stories, 6 comments · first 2014-05-07 · latest 2020-08-29
20082026
-
…the design of? What C++ codebases do you like or find interesting from a design perspective? [1] https://github.com/matt-42/iod (merged into Lithium) [2] https://github.com/matt-42/silicon
comment by sitkack · 2020-08-29 · in Lithium ranked the highest performance web application platform -
▲ 1
Parsing command line with one C++14 statementstory by matt42 · 2016-09-16 · 0 comments
-
▲ 3
Simple and Modern C++14 Command Line Parsingstory by matt42 · 2016-09-15 · 1 comment
-
…me, and you can go over the problem of the weirdly named one-off struct by using the iod library ( https://github.com/matt-42/iod ): foo() { return D(_id = "test", _age = "42" }; } auto r = foo(); std::cout << r.id << r.age << std::endl;
comment by matt42 · 2016-03-07 · in Returning multiple values from functions in C++ -
…it to plain C++. In short, their are empty objects holding a unique C++ type. More info here: https://github.com/matt-42/iod
comment by matt42 · 2015-01-19 · in Show HN: The Silicon C++14 Web Framework -
The source code is here, interesting if you enjoy c++14 meta programming: https://github.com/matt-42/iod/blob/master/iod/di.hh
comment by matt42 · 2015-01-04 · in Non Intrusive Static Recursive Dependency Injection for C++14 -
▲ 21
Non Intrusive Static Recursive Dependency Injection for C++14story by matt42 · 2015-01-04 · 11 comments
-
…iod library makes iterating on the members of an sio object trivial with the foreach primitive (see https://github.com/matt-42/iod/blob/master/iod/json.hh#L417 ) so generating a serializer / deserializer like this one is not so complicated…
comment by matt42 · 2014-11-15 · in Show HN: A Fast, Malloc-Free C++14 Json Parser and Encoder -
▲ 98
Show HN: A Fast, Malloc-Free C++14 Json Parser and Encoderstory by matt42 · 2014-11-14 · 45 comments
-
▲ 1
The IOD C++14 Library 1.0 – A New Metaprogramming Paradigmstory by matt42 · 2014-11-13 · 0 comments
-
…symplifies (a lot) the writting of such abstractions. The object model is only 100 lines of C++11: https://github.com/matt-42/iod/blob/master/iod.hh
comment by matt42 · 2014-05-07 · in Show HN: C++11 inline object definitions -
▲ 70
Show HN: C++11 inline object definitionsstory by matt42 · 2014-05-07 · 34 comments