foobar2000 SDK  2015-08-03
Static Public Member Functions
pfc::comparator_memcmp

#include <primitives.h>

Static Public Member Functions

template<typename t_item1 , typename t_item2 >
static int compare (const t_item1 &p_item1, const t_item2 &p_item2)
 

Detailed Description

Definition at line 361 of file primitives.h.

Member Function Documentation

template<typename t_item1 , typename t_item2 >
static int pfc::comparator_memcmp::compare ( const t_item1 &  p_item1,
const t_item2 &  p_item2 
)
inlinestatic

Definition at line 364 of file primitives.h.

364  {
365  static_assert_t<sizeof(t_item1) == sizeof(t_item2)>();
366  return memcmp(&p_item1,&p_item2,sizeof(t_item1));
367  }

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