Jpp  master_rocky
the software that should make you happy
Functions
debug_abrt.hh File Reference
#include <stdlib.h>

Go to the source code of this file.

Functions

template<typename T >
void __debug_abort_on_wrong_size_ (size_t size)
 

Function Documentation

◆ __debug_abort_on_wrong_size_()

template<typename T >
void __debug_abort_on_wrong_size_ ( size_t  size)
Author
cpellegrino

Definition at line 11 of file debug_abrt.hh.

12 {
13  if (sizeof(T) != size)
14  {
15  abort();
16  }
17 }