-

   rss_forum_sources_ru

 - e-mail

 

 -

 LiveInternet.ru:
: 29.07.2007
:
:
: 80

:


, 12 2020 . 03:12 +
Dushevny: ( , C++17):
    template
    struct a
    {
    template
    static int constexpr AA = aa;
    };
    template
    struct b
    {
    static int constexpr BB1 = a<3>::AA<2>;
    static int constexpr BB2 = a::AA<2>;
    };


, BB1 , BB2 :
    a.cpp:12:47: error: expected primary-expression before ; token
    12 | static int constexpr BB2 = a::AA<2>;
    | ^
BB2.

https://forum.sources.ru/index.php?showtopic=419647&view=findpost&p=3838749

:  

: [1] []
 

:
: 

: ( )

:

  URL