(svn r21645) -Doc: Document SmallPair and SmallMap template parameters.
This commit is contained in:
@@ -15,7 +15,11 @@
|
|||||||
#include "smallvec_type.hpp"
|
#include "smallvec_type.hpp"
|
||||||
#include "sort_func.hpp"
|
#include "sort_func.hpp"
|
||||||
|
|
||||||
/** Simple pair of data. Both types have to be POD ("Plain Old Data")! */
|
/**
|
||||||
|
* Simple pair of data. Both types have to be POD ("Plain Old Data")!
|
||||||
|
* @tvar T Key type.
|
||||||
|
* @tvar U Value type.
|
||||||
|
*/
|
||||||
template <typename T, typename U>
|
template <typename T, typename U>
|
||||||
struct SmallPair {
|
struct SmallPair {
|
||||||
T first;
|
T first;
|
||||||
@@ -28,6 +32,10 @@ struct SmallPair {
|
|||||||
/**
|
/**
|
||||||
* Implementation of simple mapping class. Both types have to be POD ("Plain Old Data")!
|
* Implementation of simple mapping class. Both types have to be POD ("Plain Old Data")!
|
||||||
* It has inherited accessors from SmallVector().
|
* It has inherited accessors from SmallVector().
|
||||||
|
* @tvar T Key type.
|
||||||
|
* @tvar U Value type.
|
||||||
|
* @tvar S Unit of allocation.
|
||||||
|
*
|
||||||
* @see SmallVector
|
* @see SmallVector
|
||||||
*/
|
*/
|
||||||
template <typename T, typename U, uint S = 16>
|
template <typename T, typename U, uint S = 16>
|
||||||
|
Reference in New Issue
Block a user