Minor code updates to Metaprogramming Scenario (#515)

This commit is contained in:
Peter Turcan
2025-10-13 12:58:23 -07:00
committed by GitHub
parent 77fec16eda
commit 6f393920f0

View File

@@ -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;