Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cstring>
- template<typename T> void unused(T) {}
- int main() {
- char buf[ (std::size_t)(char*)(sizeof( int )) ];
- std::size_t buf_size = sizeof(buf);
- unused(buf_size);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement