xtd 0.2.0
Loading...
Searching...
No Matches

◆ is_not_empty() [2/4]

template<typename value_t >
static void xtd::tunit::valid::is_not_empty ( const value_t &  value,
const xtd::diagnostics::stack_frame stack_frame 
)
inlinestatic

Validates that collection does not contain any item.

Parameters
valueThe value to check is empty.
stack_frameContains information about current file and current line.
Examples
std::vector<int> v1 = {0, 1, 2, 3};
std::vector<int> v2;
static void is_not_empty(const value_t &value)
Validates that collection oes not contain any item.
Definition valid.h:1210
#define csf_
Provides information about the current stack frame.
Definition current_stack_frame.h:30