[Bug c++/58091] New: Non-ambiguous member lookup rejected

2013-08-05 Thread fimbul77 at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: fimbul77 at gmail dot com The following code is rejected: namespace NS { template < int N > struct NS { constexpr static int value = N ; } ; } int main() { using namespace NS ; NS<0>::value

[Bug c++/58091] Non-ambiguous member lookup rejected

2013-08-06 Thread fimbul77 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58091 --- Comment #2 from fimbul77 at gmail dot com --- 3.4 Name lookup The name lookup rules apply uniformly to all names (including typedef-names (7.1.3), namespace-names (7.3), and class-names (9.1)) wherever the grammar allows such names in the

[Bug c++/58181] New: A bug in lambda expression

2013-08-17 Thread fimbul77 at gmail dot com
: unassigned at gcc dot gnu.org Reporter: fimbul77 at gmail dot com Following the code: #include #include int main() { assert(std::get<0>( []() { int x = 0; return std::forward_as_tuple([=]() -> int {

[Bug c++/58181] A bug in lambda expression

2013-08-17 Thread fimbul77 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58181 --- Comment #1 from fimbul77 at gmail dot com --- sorry, my code was wrond. Following the code : #include #include int main() { static const auto factory = []() { int x = 0; return [=]() mutable { return std

[Bug c++/58181] A bug in lambda expression

2013-08-17 Thread fimbul77 at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58181 fimbul77 at gmail dot com changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution