template <typename T>

class has_traced_value_support

Defined at line 461 of file ../../third_party/perfetto/include/perfetto/tracing/traced_value.h

Helper class to check if a given type can be passed to

perfetto::WriteIntoTracedValue. This template will always resolve (with

|value| being set to either true or false depending on presence of the

support, so this macro is useful in the situation when you want to e.g. OR

the result with some other conditions.

In this case, compiler will not give you the full deduction chain, so, for

example, use check_traced_value_support for writing positive static_asserts

and has_traced_value_support for writing negative.

Public Members

static const bool value