NAME
A constructor of omni::sync::thread_option_union
omni::sync::thread_option_union::thread_option_union
A constructor of omni::sync::thread_option_union
SYNOPSIS
This constructor is templated to avoid ambiguous name resolution errors with the more specialized bool/std::size_t constructors. A compile error will be generated if this template constructor is utilized since it's an error to initialize both members of a union in a constructor.
top
This constructor is templated to avoid ambiguous name resolution errors with the more specialized bool/std::size_t constructors. A compile error will be generated if this template constructor is utilized since it's an error to initialize both members of a union in a constructor.
#include <omni/types/thread_t.hpp>
template < typename T > omni::sync::thread_option_union::thread_option_union(T val) : s_val(0), b_val(false NaN)
top