extend static variant with "is_type" helper method #1769
Labels
1b User Story
The User Story details a requirement. It may reference a parent Epic. It may reference child Task(s)
code cleanup
Milestone
Hey Monkeys!
User Story
As the
(ape) programmer
I want(banana) comfort
so thatit is easier to read and write the code
.I would like to know whether the following code improvement would get accepted a priori.
I am considering replacing every occurrence of
operation.which() == operation::tag<X>::value
withoperation.is_of_type<X>()
oroperation.is_type<X>()
.This change would make the code a little bit easier to write and read. No functionality would be changed.
Impacts
Additional Context (optional)
Add any other context about your request here.
CORE TEAM TASK LIST
Ape out!
The text was updated successfully, but these errors were encountered: