Home Dashboard Directory Help
Refine Search Results
Status
Votes
Total Votes (at least)
Workarounds
Total Workarounds (at least)
Validations
Total Validations (at least)
Comments
Total Comments (at least)
Time
Created in the last (days)
Updated in the last (days)
Product Search Results
Sort By:
You searched for: items submitted by Jinhao.CPP for this product (signing in could show even more results)
Showing 1 - 7 of 7 Previous 1 Next

1
0
Sign in
to vote
struct T { T(); T(std::initializer_list<int>); }; struct X { void foo(T ={}); }; X x; x.foo(); //T(std::initializer_list<int>) is matched. 2. Expected results T(); is m…
Created on 12/11/2014 (updated 1 week ago) | 0 validations | 0 workarounds | 1 comment | feedback id: 1052348  | 
Active
1
0
Sign in
to vote
No implicitly-declared move construct is generated. and can't explicitly defined a default move constructor. Steps to reproduce this issue. struct A { A() = default; A(const A&) { } …
Created on 12/3/2014 (updated 8 hours ago) | 0 validations | 0 workarounds | 2 comments | feedback id: 1045933  | 
Closed
as Fixed Help for as Fixed
1
0
Sign in
to vote
Unexpected error C2838 and error C2065, A typedef name which is a strongly-typed enum does not hide the outter scope name. therefore, it generates unexpected error C2838 and error C2065 enum class…
Created on 3/4/2013 (updated 33 weeks ago) | 1 validation | 0 workarounds | 4 comments | feedback id: 780591  | 
Closed
as Fixed Help for as Fixed
1
0
Sign in
to vote
Compiler generates an internal error when compiling following code ---------------------------- #include <vector> struct T { std::vector<int> v; }; std::vector<T>::iterator vec(std::vector<T>& v) {…
Created on 9/1/2012 (updated 104 weeks ago) | 0 validations | 0 workarounds | 3 comments | feedback id: 760771  | 
Closed
as Fixed Help for as Fixed
1
0
Sign in
to vote
C++ compiler bugs - by Jinhao.CPP
Many issues about C++ compiler. 1, void foo(){} std::forward<void(*)()>(foo); //Compiler reports an error. 2, void foo(){} class A { public: void fun(std::function<void()>){} void operator=(s…
Created on 7/11/2012 (updated 94 weeks ago) | 0 validations | 0 workarounds | 3 comments | feedback id: 753246  | 
Closed
as Deferred Help for as Deferred
1
0
Sign in
to vote
bad overloading --- class A { public: void foo() const {} void foo() {} }; template<typename R, typename T> void test(R(T::*)() const) { } int main() { test(&A::foo); //Error here. }
Created on 2/21/2012 (updated 137 weeks ago) | 0 validations | 0 workarounds | 3 comments | feedback id: 726039  | 
Closed
as Fixed Help for as Fixed
1
0
Sign in
to vote
void foo(int){} void foo(){} template<typename Ft> struct T { T(){} T(Ft){} }; int main() { T<void()> t; t = foo; //Error, the foo() should be matched by overload resolution. } gene…
Created on 12/9/2011 (updated 151 weeks ago) | 0 validations | 0 workarounds | 3 comments | feedback id: 712925  | 
Closed
as Fixed Help for as Fixed
Showing 1 - 7 of 7 Previous 1 Next