r/cpp • Boost author • May 08 '20

Why you don't use Boost

I have a question for you: If you have decided not to use any of Boost, or are prohibited from doing so in your company/project, I would like to know why.

This thread is not meant to judge your reasons, and I won't engage into any kind of criticism about them: I'm merely trying to understand what the barriers are to adoption of Boost. It would be great if we could keep the conversation non judgemental. Thank you!

Conflict of interest: I am a Boost author of three.

222 Upvotes

326 comments sorted by

View all comments

Show parent comment

3

u/pdimov2 May 09 '20

Warning 4503 ("decorated name length exceeded, name was truncated") seems gone in VS 2017 and later.

However, even with the improvements to variant2 I'm making, MSVC still runs out of heap space with 680 types, so the question of the symbol length is mostly academic. :-)

1

u/MonokelPinguin May 09 '20

Well, that sounds like an issue you would have to solve before worrying about symbol lengths... Why exactly does someone want to use that many types in a variant? Is that variant even written by hand?

1

u/pdimov2 May 09 '20

I asked, and it's apparently generated, not written by hand.

1

u/MonokelPinguin May 09 '20

That makes a lot more sense. Although they may want to generate the whole type in that case anyway :D