what is the meaning of v_noabi namespace in cpp driver?

489 views
Skip to first unread message

li ning

unread,
Apr 6, 2016, 4:34:30 AM4/6/16
to mongodb-user
not compatible with c++98?

Andrew Morrow

unread,
Apr 6, 2016, 8:35:24 AM4/6/16
to mongod...@googlegroups.com

Hi -

The driver is not compatible with C++98, since it does require a C++11 compiler. However, that is not the purpose of the v_noabi inline namespace. That inline namespace is a placeholder for when we declare that the driver interface is correct and complete, and we decide to declare the driver as ABI stable, at which point v_noabi will change to v_1. If we were to need to break ABI in the future, we would bump it to v_2, etc. The current name of v_noabi is intended to indicate that while the mechanisms for enforcing ABI are present in the driver, we are not currently doing so - there is no ABI.

Please let me know if I can clarify any of the above.

Thanks,
Andrew

On Wed, Apr 6, 2016 at 4:34 AM, li ning <li.ni...@gmail.com> wrote:
not compatible with c++98?

--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: https://docs.mongodb.org/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/897695e6-e280-4bca-87d0-927df0799b3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages