Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boostorg/pfr
/ test_empty_struct
Function
test_empty_struct
test/core/run/ops.cpp:67–71 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
65
}
66
67
void test_empty_struct() {
68
struct empty {};
69
std::cout << boost::pfr::io(empty{});
70
BOOST_TEST(boost::pfr::eq(empty{}, empty{}));
71
}
72
73
void test_implicit_conversions() {
74
std::stringstream ss;
Callers
1
main
Function · 0.70
Calls
2
io
Function · 0.85
eq
Function · 0.85
Tested by
no test coverage detected