//@cond
/// Initializes guarded pointer with \p p
- guarded_ptr( guarded_type * p ) CDS_NOEXCEPT
+ explicit guarded_ptr( guarded_type * p ) CDS_NOEXCEPT
{
alloc_guard();
assert( m_guard.is_initialized() );
m_guard.set( p );
}
- guarded_ptr( std::nullptr_t ) CDS_NOEXCEPT
+ explicit guarded_ptr( std::nullptr_t ) CDS_NOEXCEPT
{}
//@endcond