Core Library  1.7.0.0
Library containing core utilities and tools for threading, networking, logging, INI and CSV file management etc.
core_lib::csv_grid::reserver::ContainerReserver< C, T > Class Template Reference

Default container reserver functor. More...

#include <CsvGridRow.h>

Public Types

using container_type = C< T, std::allocator< T > >
 Typedef to container type.
 

Public Member Functions

void operator() (container_type &container, size_t size) const
 Function operator. More...
 

Detailed Description

template<template< class, class > class C, class T>
class core_lib::csv_grid::reserver::ContainerReserver< C, T >

Default container reserver functor.

Member Function Documentation

◆ operator()()

template<template< class, class > class C, class T >
void core_lib::csv_grid::reserver::ContainerReserver< C, T >::operator() ( container_type container,
size_t  size 
) const
inline

Function operator.

Parameters
[in]container- Container to reserve space in.
[in]size- Number of items to reserve space for.

This default functor does nothing as it is intended for containers that do not have a built-in reserve method, such as std::list.


The documentation for this class was generated from the following file: