blob: b8e4bef11da8828b892f69256947c2027c67978e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#include "app.hpp"
#include "compat/assert.hpp"
#include "compat/borrowed-ptr.inl"
namespace floormat {
namespace { struct Foo {}; struct Bar : Foo {}; struct Baz {}; }
template struct detail_borrowed_ptr::control_block_impl<Foo>;
template class bptr<Foo>;
template bptr<Bar> static_pointer_cast(const bptr<Foo>&) noexcept;
namespace {
void test1()
{
}
} // namespace
void test_app::test_bptr()
{
test1();
}
} // namespace floormat
|