SpECTRE  2021.08.02
ContainerDestructiveResize Struct Reference

Callable struct which applies the t.destructive_resize() for operand t. This will cause a compiler error if no such function exists. More...

#include <ContainerHelpers.hpp>

Public Member Functions

template<typename T >
void operator() (T &t, const size_t size) const noexcept
 

Detailed Description

Callable struct which applies the t.destructive_resize() for operand t. This will cause a compiler error if no such function exists.