++
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
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
: 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 {
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
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58181
fimbul77 at gmail dot com changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution