mirror of
https://github.com/boostorg/website-v2-docs.git
synced 2026-01-19 04:42:17 +00:00
Minor code updates to Metaprogramming Scenario (#515)
This commit is contained in:
@@ -65,8 +65,6 @@ We'll start by using boost:mp11[] to generate a tuple of types at compile-time,
|
||||
----
|
||||
#include <boost/mp11.hpp>
|
||||
#include <iostream>
|
||||
#include <tuple>
|
||||
#include <string>
|
||||
|
||||
namespace mp = boost::mp11;
|
||||
|
||||
@@ -121,8 +119,6 @@ Our scenario makes more sense if we want to serialize a custom user-defined stru
|
||||
----
|
||||
#include <boost/mp11.hpp>
|
||||
#include <iostream>
|
||||
#include <tuple>
|
||||
#include <string>
|
||||
|
||||
namespace mp = boost::mp11;
|
||||
|
||||
@@ -197,8 +193,6 @@ Note:: A `void` is an example of a non-serializable type.
|
||||
#include <boost/mp11.hpp>
|
||||
#include <boost/type_traits.hpp>
|
||||
#include <iostream>
|
||||
#include <tuple>
|
||||
#include <string>
|
||||
|
||||
namespace mp = boost::mp11;
|
||||
|
||||
@@ -295,7 +289,6 @@ image::template-time-machine.png[]
|
||||
#include <boost/mp11.hpp>
|
||||
#include <boost/type_traits.hpp>
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
namespace hana = boost::hana;
|
||||
namespace mp = boost::mp11;
|
||||
|
||||
Reference in New Issue
Block a user