Created
December 21, 2012 11:50
-
-
Save bo0ts/4352350 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template <typename T> | |
struct is_poolable; | |
template <typename Poolable> | |
struct Pooling_traits { | |
typedef hidden size_type; | |
/// \name Query Functions | |
/// @{ | |
static size_type size(); | |
static size_type capacity(); | |
/// @} | |
/// \name Manipulation | |
/// @{ | |
static bool max_size(size_type n); | |
static void clear(); | |
/// @} | |
}; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment