MLIR 23.0.0git
mlir::Sliceable< Derived, ElementTy >::has_maybe_downcast< T, typename > Struct Template Reference

Trait to check if T provides a maybeDownCast method. More...

#include "mlir/Bindings/Python/NanobindUtils.h"

Inheritance diagram for mlir::Sliceable< Derived, ElementTy >::has_maybe_downcast< T, typename >:

Detailed Description

template<typename Derived, typename ElementTy>
template<typename T, typename = void>
struct mlir::Sliceable< Derived, ElementTy >::has_maybe_downcast< T, typename >

Trait to check if T provides a maybeDownCast method.

Note, you need the & to detect inherited members.

Definition at line 311 of file NanobindUtils.h.


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