1
@g.elvis

Instead of importing the whole library in C++ is it possible to just import a single class from the library? #c++

2
3 people

You must be logged in to comment.

1
@notgr

Compilers for these languages have a concept of dead code elimination. If you didnt use a symbol from a library, it gets removed.

1
2 people

1
@blackprince

What you want to do is called Modules in c++, which is only available in c++20/23. I don’t exactly recall the right one. You can look it up tho.

0
1 person