is_expression
Header: <pressio/expressions.hpp>
This page summarizes the main type traits for detecting Pressio expressions and how they interact with native containers from supported backends.
Core Expression Type Traits
Trait |
Description |
|---|---|
|
Checks if |
|
True if |
|
True if |
|
True if |
|
True if |
Backend-Specific Expression Traits
These traits refine the detection to check whether a recognized expression type wraps a native container from a specific backend.
Trait |
Description |
|---|---|
|
True if |
|
True if |
|
True if |
|
True if |
|
True if |
|
True if |
Notes
Each trait inherits from
std::true_typeorstd::false_typeand exposes a.valuemember for compile-time checks.These traits automatically handle
const-qualified types.