P4C
The P4 Compiler
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
has_dbprint< class, class > Struct Template Reference

#include <stringify.h>

Inheritance diagram for has_dbprint< class, class >:
[legend]

Detailed Description

template<class, class = void>
struct has_dbprint< class, class >

SFINAE helper to check if given class has a dbprint method. Apparently, not everything are descendants of IHasDbPrint...