Boost logo

Boost :

From: Ruben Perez (rubenperez038_at_[hidden])
Date: 2024-11-16 11:07:12


> > 3. What's the rationale behind BOOST_SQLITE_NO_VIRTUAL? Wouldn't
> > setting it cause trouble, being a compiled library?
>
> It would. The idea is that you can use that for constrained (i.e.
> embedded environments) to avoid the unnecessary vtable and to enforce
> devirtualization if your compiler misses this.

If I have read the code correctly, these functions seem to only be
used in headers. Why do they need to be virtual? It looks like it
could have been made a compile-time interface (i.e. a concept),
completely avoiding the need for the macro. What's the rationale
behind this?


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk