Makes sure the global initializer pointers are referenced and not removed by linker
| 1620 | #if defined(BOOST_FILESYSTEM_NO_ATTRIBUTE_RETAIN) |
| 1621 | //! Makes sure the global initializer pointers are referenced and not removed by linker |
| 1622 | struct globals_retainer |
| 1623 | { |
| 1624 | const init_func_ptr_t* volatile m_p_init_path_globals; |
| 1625 | |
| 1626 | globals_retainer() { m_p_init_path_globals = &p_init_path_globals; } |
| 1627 | }; |
| 1628 | BOOST_ATTRIBUTE_UNUSED |
| 1629 | static const globals_retainer g_globals_retainer; |
| 1630 | #endif // defined(BOOST_FILESYSTEM_NO_ATTRIBUTE_RETAIN) |
nothing calls this directly
no outgoing calls
no test coverage detected