/// \brief Constructor. Allocates entry in TLS.
 VThreadBuffer()
 {
   if ( !TAllocate() )
   {
     VASSERT_ALWAYS_MSG(FALSE, "Failed to allocate slot for thread-local value. This may result in unpredictable behavior.");
   }
 }
 /// \brief Constructor. Allocates entry in TLS.
 VThreadBuffer()
 {
   if ( !TAllocate() )
   {
     assert(!"Failed to allocate slot for thread-local value. This may result in unpredictable behavior.");
   }
 }