Commit 057cff14 authored by Gauthier Quesnel's avatar Gauthier Quesnel
Browse files

union: remove reference about Baryonyx

parent 0b65816c
......@@ -28,15 +28,15 @@
namespace bits {
/**
* @brief @c baryonyx::parameter is a simple class to represent a union between
* an integer, a real and a string (resp. @c int, @c double and @c
* @brief @c tagged_union is a simple class to represent a union between an
* integer, a real and a string (resp. @c int, @c double and @c
* std::string).
*
* @details Waiting for a compiler with the @c std::optional class, @c
* baryonyx::parameter implements an union between a @c int, a @c double
* and a @c std::string. @c baryonyx::parameter, by default, defines a @c
* int with the value of @c 0. Use the @c baryonyx::parameter::type
* function to get the current type stored into the @c baryonyx::parameter.
* @details Waiting for a compiler with the @c std::variant class, @c
* tagged_union implements an union between a @c int, a @c double and a @c
* std::string. @c tagged_union, by default, defines a @c int with the
* value of @c 0. Use the @c tagged_union::type function to get the current
* type stored into the @c tagged_union.
*/
class tagged_union
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment