Community
Participate
Working Groups
struct Wrapper { template <typename T> operator T(); }; int main() { Wrapper w; w./* invoke completion here */ } When content assist is invoked at the indicated location, the completion proposal for the conversion operator looks like this: operator #0(void): T and if selected, the inserted text is this: w.operator #0() Unlike bug 515350, the desired behaviour here is less clear. Options I can think of are: 1) Simple: just don't provide a completion for a templated conversion operator. 2) Fancier: when the completion proposal is selected, create a placeholder box in the place of the type, where the user can enter a concrete type. 3) Even fancier: try to deduce the desired type from the surrounding context, falling back to (2) if a type can't be deduced.