Add more tests; fix errors

This commit is contained in:
Peter Dimov
2017-06-20 20:38:26 +03:00
parent 052ebd1946
commit fb17bf685e
9 changed files with 321 additions and 8 deletions
@@ -766,6 +766,10 @@ public:
return ti == BOOST_SP_TYPEID(deleter_type)? &reinterpret_cast<char&>(deleter_): 0;
}
void* get_local_deleter(const sp_typeinfo&) {
return 0;
}
void* get_untyped_deleter() {
return &reinterpret_cast<char&>(deleter_);
}
@@ -807,6 +811,10 @@ public:
return ti == BOOST_SP_TYPEID(deleter_type)? &reinterpret_cast<char&>(deleter_): 0;
}
void* get_local_deleter(const sp_typeinfo&) {
return 0;
}
void* get_untyped_deleter() {
return &reinterpret_cast<char&>(deleter_);
}
@@ -853,6 +861,10 @@ public:
return ti == BOOST_SP_TYPEID(deleter_type)? &reinterpret_cast<char&>(deleter_): 0;
}
void* get_local_deleter(const sp_typeinfo&) {
return 0;
}
void* get_untyped_deleter() {
return &reinterpret_cast<char&>(deleter_);
}
@@ -898,6 +910,10 @@ public:
return ti == BOOST_SP_TYPEID(deleter_type)? &reinterpret_cast<char&>(deleter_): 0;
}
void* get_local_deleter(const sp_typeinfo&) {
return 0;
}
void* get_untyped_deleter() {
return &reinterpret_cast<char&>(deleter_);
}