├── .clang-format ├── .gitmodules ├── CMakeLists.txt ├── LICENSE.md ├── README.md ├── azure-pipelines.yml ├── example ├── CMakeLists.txt ├── custom_tiny_type.cpp ├── tiny_storage.cpp └── tombstone.cpp ├── external └── external.cmake ├── foonathan_tiny-config.cmake ├── include └── foonathan │ └── tiny │ ├── bit_view.hpp │ ├── check_size.hpp │ ├── detail │ ├── assert.hpp │ ├── ilog2.hpp │ ├── index_sequence.hpp │ └── select_integer.hpp │ ├── enum_traits.hpp │ ├── optional_impl.hpp │ ├── padding_tiny_storage.hpp │ ├── padding_traits.hpp │ ├── pointer_tiny_storage.hpp │ ├── pointer_variant_impl.hpp │ ├── tagged_union_impl.hpp │ ├── tiny_bool.hpp │ ├── tiny_enum.hpp │ ├── tiny_flag_set.hpp │ ├── tiny_int.hpp │ ├── tiny_storage.hpp │ ├── tiny_type.hpp │ └── tombstone.hpp └── test ├── CMakeLists.txt ├── bit_view.cpp ├── check_size.cpp ├── detail └── ilog2.cpp ├── optional_impl.cpp ├── padding_tiny_storage.cpp ├── padding_traits.cpp ├── poiner_variant_impl.cpp ├── pointer_tiny_storage.cpp ├── tagged_union_impl.cpp ├── test.cpp ├── tiny_storage.cpp ├── tiny_types.cpp └── tombstone_traits.cpp /.clang-format: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/.clang-format -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/.gitmodules -------------------------------------------------------------------------------- /CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/CMakeLists.txt -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/README.md -------------------------------------------------------------------------------- /azure-pipelines.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/azure-pipelines.yml -------------------------------------------------------------------------------- /example/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/example/CMakeLists.txt -------------------------------------------------------------------------------- /example/custom_tiny_type.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/example/custom_tiny_type.cpp -------------------------------------------------------------------------------- /example/tiny_storage.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/example/tiny_storage.cpp -------------------------------------------------------------------------------- /example/tombstone.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/example/tombstone.cpp -------------------------------------------------------------------------------- /external/external.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/external/external.cmake -------------------------------------------------------------------------------- /foonathan_tiny-config.cmake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/foonathan_tiny-config.cmake -------------------------------------------------------------------------------- /include/foonathan/tiny/bit_view.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/bit_view.hpp -------------------------------------------------------------------------------- /include/foonathan/tiny/check_size.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/check_size.hpp -------------------------------------------------------------------------------- /include/foonathan/tiny/detail/assert.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/detail/assert.hpp -------------------------------------------------------------------------------- /include/foonathan/tiny/detail/ilog2.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/detail/ilog2.hpp -------------------------------------------------------------------------------- /include/foonathan/tiny/detail/index_sequence.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/detail/index_sequence.hpp -------------------------------------------------------------------------------- /include/foonathan/tiny/detail/select_integer.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/detail/select_integer.hpp -------------------------------------------------------------------------------- /include/foonathan/tiny/enum_traits.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/enum_traits.hpp -------------------------------------------------------------------------------- /include/foonathan/tiny/optional_impl.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/optional_impl.hpp -------------------------------------------------------------------------------- /include/foonathan/tiny/padding_tiny_storage.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/padding_tiny_storage.hpp -------------------------------------------------------------------------------- /include/foonathan/tiny/padding_traits.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/padding_traits.hpp -------------------------------------------------------------------------------- /include/foonathan/tiny/pointer_tiny_storage.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/pointer_tiny_storage.hpp -------------------------------------------------------------------------------- /include/foonathan/tiny/pointer_variant_impl.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/pointer_variant_impl.hpp -------------------------------------------------------------------------------- /include/foonathan/tiny/tagged_union_impl.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/tagged_union_impl.hpp -------------------------------------------------------------------------------- /include/foonathan/tiny/tiny_bool.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/tiny_bool.hpp -------------------------------------------------------------------------------- /include/foonathan/tiny/tiny_enum.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/tiny_enum.hpp -------------------------------------------------------------------------------- /include/foonathan/tiny/tiny_flag_set.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/tiny_flag_set.hpp -------------------------------------------------------------------------------- /include/foonathan/tiny/tiny_int.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/tiny_int.hpp -------------------------------------------------------------------------------- /include/foonathan/tiny/tiny_storage.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/tiny_storage.hpp -------------------------------------------------------------------------------- /include/foonathan/tiny/tiny_type.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/tiny_type.hpp -------------------------------------------------------------------------------- /include/foonathan/tiny/tombstone.hpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/include/foonathan/tiny/tombstone.hpp -------------------------------------------------------------------------------- /test/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/test/CMakeLists.txt -------------------------------------------------------------------------------- /test/bit_view.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/test/bit_view.cpp -------------------------------------------------------------------------------- /test/check_size.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/test/check_size.cpp -------------------------------------------------------------------------------- /test/detail/ilog2.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/test/detail/ilog2.cpp -------------------------------------------------------------------------------- /test/optional_impl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/test/optional_impl.cpp -------------------------------------------------------------------------------- /test/padding_tiny_storage.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/test/padding_tiny_storage.cpp -------------------------------------------------------------------------------- /test/padding_traits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/test/padding_traits.cpp -------------------------------------------------------------------------------- /test/poiner_variant_impl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/test/poiner_variant_impl.cpp -------------------------------------------------------------------------------- /test/pointer_tiny_storage.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/test/pointer_tiny_storage.cpp -------------------------------------------------------------------------------- /test/tagged_union_impl.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/test/tagged_union_impl.cpp -------------------------------------------------------------------------------- /test/test.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/test/test.cpp -------------------------------------------------------------------------------- /test/tiny_storage.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/test/tiny_storage.cpp -------------------------------------------------------------------------------- /test/tiny_types.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/test/tiny_types.cpp -------------------------------------------------------------------------------- /test/tombstone_traits.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/foonathan/tiny/HEAD/test/tombstone_traits.cpp --------------------------------------------------------------------------------