- Timestamp:
- Jun 1, 2021, 1:52:19 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 68ff3de
- Parents:
- e46ea00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Pass.proto.hpp
re46ea00 r93f74c0f 119 119 template<typename core_t, typename node_t> 120 120 struct is_valid_previsit { 121 using ret_t = decltype( ((core_t*)nullptr)->previsit( (const node_t *)nullptr) );121 using ret_t = decltype( std::declval<core_t*>()->previsit( std::declval<const node_t *>() ) ); 122 122 123 123 static constexpr bool value = std::is_void< ret_t >::value ||
Note: See TracChangeset
for help on using the changeset viewer.