C++ Logo


Advanced search

[SG7] Reason for members of namespace

From: Cleiton Santoia <cleitonsantoia_at_[hidden]>
Date: Tue, 3 Nov 2020 02:28:52 -0300
>From p1240r1.pdf
<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1240r1.pdf> :

  "Of note here is that we are not proposing a function to retrieve members
of namespaces..."

I believe "Automatic Class Register" for load/storing frameworks, may be a
good reason for members of namespace ( obviously filtered ):

I need to get all classes derived from "Widget" (called T in this sample)
in the namespace "MyFramework" and all of it´s inner namespaces, that has
funcion "toStream(ostream&)" declared.


Received on 2020-11-02 23:29:05