MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / dereference

Function dereference

include/win/boost/optional/optional.hpp:737–737  ·  view source on GitHub ↗

reference_content lacks an implicit conversion to T&, so the following is needed to obtain a proper reference.

Source from the content-addressed store, hash-verified

735
736 // reference_content<T> lacks an implicit conversion to T&, so the following is needed to obtain a proper reference.
737 reference_const_type dereference( internal_type const* p, is_not_reference_tag ) const { return *p ; }
738 reference_type dereference( internal_type* p, is_not_reference_tag ) { return *p ; }
739 reference_const_type dereference( internal_type const* p, is_reference_tag ) const { return p->get() ; }
740 reference_type dereference( internal_type* p, is_reference_tag ) { return p->get() ; }

Callers 1

get_implFunction · 0.70

Calls 1

getMethod · 0.45

Tested by

no test coverage detected