diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/comphelper/InlineContainer.hxx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/include/comphelper/InlineContainer.hxx b/include/comphelper/InlineContainer.hxx index d5c3e108896c..1c2aa7dbeaf8 100644 --- a/include/comphelper/InlineContainer.hxx +++ b/include/comphelper/InlineContainer.hxx @@ -20,34 +20,10 @@ #define INCLUDED_COMPHELPER_INLINECONTAINER_HXX #include <map> -#include <set> namespace comphelper { -/** Creates a set which contains an arbitrary number of elements. - - usage: - - set< t > aSet( MakeSet< t >( t_1 )( t_2 )...( t_n ) ); - */ -template < typename T > -class MakeSet : public ::std::set< T > -{ -public: - explicit MakeSet(const T &a) - : ::std::set< T >() - { - this->insert(this->end(), a); - } - MakeSet &operator()(const T &a) - { - this->insert(this->end(), a); - return *this; - } -}; - - /** usage: map< k, v > aMap( MakeMap< k, v > |