MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / clone

Function clone

extern/boost/boost/exception/info.hpp:141–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139 }
140
141 refcount_ptr<error_info_container>
142 clone() const
143 {
144 refcount_ptr<error_info_container> p;
145 error_info_container_impl * c=new error_info_container_impl;
146 p.adopt(c);
147 for( error_info_map::const_iterator i=info_.begin(),e=info_.end(); i!=e; ++i )
148 {
149 shared_ptr<error_info_base> cp(i->second->clone());
150 c->info_.insert(std::make_pair(i->first,cp));
151 }
152 return p;
153 }
154 };
155
156 template <class E,class Tag,class T>

Callers 1

exception.hppFile · 0.85

Calls 6

make_pairFunction · 0.85
adoptMethod · 0.80
beginMethod · 0.45
endMethod · 0.45
cloneMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected