2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by Narue
0

static_cast is designed to painful, which encourages you to avoid casting when you might otherwise say "why not?". Another reason I've heard is that it's easier to search for a cast, while the (type) pattern is also seen in non-cast syntax. I have yet to see a case where I've wanted to search for a cast, and I work with C++ syntax parsers. ;)

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.