omni::sync::thread_option_union::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.

#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

DESCRIPTION

No description found.

top

PARAMETERS top

val - Not used

T - Not used

RETURN VALUES

No return value.

top

ERRORS

No errors specific to this context.

top

CONSIDERATIONS

No extra considerations.

top

PLATFORM SPECIFIC

Nothing platform specific to account for.

top

NOTES

No additional notes.

top

EXAMPLE
Currently no examples.
Visit the examples page for more.

top