This is a snipped using the old any_type syntax:
on<int, any_type>() >> [](int v1) { }, // 1 on<int, any_type*>() >> [](int v1) { } // 2The semantic of the first line - matching exactly one element of any type - is no longer supported. The second line just needs to replace any_type* with anything to work:
// equal to 2 on<int, anything>() >> [](int v1) { }This will match any message with an integer as first element.