Optimization for error_info<throw_function>, error_info<throw_file>, error_info<throw_line>. Refactored exception_ptr to use shared_ptr.

[SVN r48521]
This commit is contained in:
Emil Dotchevski
2008-09-01 21:06:09 +00:00
parent 9a35c999a2
commit b84fb75a60
16 changed files with 418 additions and 455 deletions

View File

@ -22,19 +22,17 @@ test_type
count_=42;
}
friend
void
intrusive_ptr_add_ref( test_type const * c )
add_ref()
{
++c->count_;
++count_;
}
friend
void
intrusive_ptr_release( test_type const * c )
release()
{
if( !--c->count_ )
delete c;
if( !--count_ )
delete this;
}
private: