https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63176
TC changed:
What|Removed |Added
CC||rs2740 at gmail dot com
--- Comment #3 from TC
Version: 6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rs2740 at gmail dot com
Target Milestone: ---
Repro:
template class Purr { };
template<template class,
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rs2740 at gmail dot com
Target Milestone: ---
Per the resolution of CWG 616, given struct A { double x; };, decltype((A().x))
should be double&&.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56701
TC changed:
What|Removed |Added
CC||rs2740 at gmail dot com
--- Comment #3 from TC
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66624
TC changed:
What|Removed |Added
CC||rs2740 at gmail dot com
--- Comment #5 from TC
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rs2740 at gmail dot com
Target Milestone: ---
Consider:
struct A {
A() = default;
A(const A) = delete;
A(A) = default;
};
A f() {
A a;
return true
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rs2740 at gmail dot com
Target Milestone: ---
Consider:
namespace A {
inline namespace B { templateclass struct C; }
templateclass struct C;
template struct Cint{};
}
Lookup
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66990
TC rs2740 at gmail dot com changed:
What|Removed |Added
Keywords||diagnostic
--- Comment #1
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rs2740 at gmail dot com
Target Milestone: ---
The following code is accepted by GCC 5.1 and 6.0.0 20150615 (experimental),
even though it is plainly invalid:
struct Meow {};
int
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66548
--- Comment #1 from TC rs2740 at gmail dot com ---
See also http://stackoverflow.com/q/30856911/2756719
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66350
TC rs2740 at gmail dot com changed:
What|Removed |Added
CC||rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54351
--- Comment #14 from TC rs2740 at gmail dot com ---
Well, I would have argued that if the specification doesn't say that a function
does X, then it doesn't do X. NullablePointer/CopyAssignable only means that
the assignment operation must
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54351
TC rs2740 at gmail dot com changed:
What|Removed |Added
CC||rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66109
TC rs2740 at gmail dot com changed:
What|Removed |Added
CC||rs2740 at gmail dot com
++
Assignee: unassigned at gcc dot gnu.org
Reporter: rs2740 at gmail dot com
From http://stackoverflow.com/q/29350040/2756719, repro:
#include random
int main(int, char **)
{
std::seed_seq seed1{1337, 42};
std::seed_seq seed2(seed1);
std::seed_seq seed3 = seed2;
return 0;
}
Per
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: rs2740 at gmail dot com
Repro:
#include iostream
#include sstream
struct A{};
void operator(std::ostream , A const ){ }
void operator(std::istream , A ){ }
int main
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65543
--- Comment #1 from TC rs2740 at gmail dot com ---
(In reply to TC from comment #0)
which breaks if the operator called does not return a reference stream. A
similar issue affects operator for rvalue streams.
I meant a reference to the stream.
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rs2740 at gmail dot com
Repro:
struct A {};
struct B : private A {};
struct C : public B {
struct A m_a; // error: A is the inaccessible injected-class-name
};
Per [basic.lookup.elab
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62116
TC rs2740 at gmail dot com changed:
What|Removed |Added
CC||rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65352
--- Comment #3 from TC rs2740 at gmail dot com ---
Depends on how http://cplusplus.github.io/LWG/lwg-active.html#2443 comes out in
LEWG, it might be a good idea to go with a solution that maintains the
`constexpr`-ness so that it doesn't have
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rs2740 at gmail dot com
From http://stackoverflow.com/questions/29013260.
Minimized repro:
struct default_check
{
templatetypename U static int check(...);
};
struct is_addable
: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: rs2740 at gmail dot com
Repro:
#include array
int main(){
std::arrayint, 0 foo;
foo.begin(); // or end(), etc.
}
Output (http://coliru.stacked-crooked.com
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: rs2740 at gmail dot com
The allocator-extended constructors of std::stack, std::queue and
std::priority_queue are missing.
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rs2740 at gmail dot com
GCC 4.9 added generic functions based on the draft Concepts Lite TS N3889.
(They now called abbreviated function templates.) However, the implementation
does not work
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64865
TC rs2740 at gmail dot com changed:
What|Removed |Added
CC||rs2740 at gmail dot com
: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rs2740 at gmail dot com
Repro:
class Bar{
public:
Bar(int, int, int);
};
int main () {
int x = 1;
Bar bar(int(x), int(x), int{x});
}
gcc HEAD 5.0.0 20150119
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rs2740 at gmail dot com
Minimized repro:
struct foo {
templateclass T
operator const T () { static T t {}; return t;}
};
int main() {
int t((foo
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62110
TC rs2740 at gmail dot com changed:
What|Removed |Added
CC||rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61892
TC rs2740 at gmail dot com changed:
What|Removed |Added
CC||rs2740 at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60009
TC rs2740 at gmail dot com changed:
What|Removed |Added
CC||rs2740 at gmail dot com
201 - 230 of 230 matches
Mail list logo