Skip to content

Commit c4831d9

Browse files
authored
Change variant reference from boost to C++17
Updated reference from `boost::variant` to `std::variant` in C++17.
1 parent 1b758c3 commit c4831d9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/content/1.5/products-and-coproducts.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,8 @@ \section{Coproduct}
465465
It injects an integer into \code{Contact}.
466466

467467
A tagged union is also called a \newterm{variant}, and there is a very
468-
general implementation of a variant in the boost library,
469-
\code{boost::variant}.
468+
general implementation of a variant in the C++17 standard,
469+
\code{std::variant}.
470470

471471
In Haskell, you can combine any data types into a tagged union by
472472
separating data constructors with a vertical bar. The \code{Contact}

0 commit comments

Comments
 (0)