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 weibing for this product (signing in could show even more results)
Showing 1 - 10 of 25 Previous 123 Next

1
0
Sign in
to vote
C++ compiler crashed - by weibing
int main() { int b; const int& c = &b; return 0; }
Created on 8/27/2015 (updated 2 days ago) | 0 validations | 0 workarounds | 1 comment | feedback id: 1718952  | 
Active
1
0
Sign in
to vote
#include <stdio.h> struct test { void operator delete[](void* p, size_t s) { printf("memory size is: %d\n", s); } ~test() {} }; int main() { test* p = new test[10]; delete[…
Created on 8/26/2015 (updated 3 days ago) | 0 validations | 0 workarounds | 1 comment | feedback id: 1717107  | 
Active
1
0
Sign in
to vote
int main() { int a; if (__is_empty(a)) { } return 0; }
Created on 8/15/2015 (updated 1 week ago) | 1 validation | 0 workarounds | 2 comments | feedback id: 1671980  | 
Closed
as Fixed Help for as Fixed
1
0
Sign in
to vote
template<typename T> using aaa = void(T); using bbb = void(int); void ggg(int) { } int main() { aaa<int>* p = ggg; //error bbb* q = ggg; //OK, but it should be identical with the first line; re…
Created on 8/13/2015 (updated 2 weeks ago) | 0 validations | 0 workarounds | 1 comment | feedback id: 1662128  | 
Active
1
0
Sign in
to vote
//this code should pass compiling struct member { //if uncomment, will pass compiling! /*~member() { }*/ }; struct some_class { member m_member; }; some_class return_temp() { r…
Created on 8/10/2015 (updated 2 weeks ago) | 0 validations | 0 workarounds | 1 comment | feedback id: 1651326  | 
Active
1
0
Sign in
to vote
struct test { test(int) { printf("test::test()\n"); } }; int main() { int n = 2; new test[n]{0,0,0}; //two test objects but constructor is called three times return 0; }
Created on 7/10/2015 (updated 5 weeks ago) | 0 validations | 0 workarounds | 2 comments | feedback id: 1532014  | 
Active
1
0
Sign in
to vote
#include <initializer_list> struct test { test() {} }; int main() { std::initializer_list<int> i_list; int n = 3; new test[n]{i_list}; return 0; }
Created on 7/10/2015 (updated 6 weeks ago) | 0 validations | 0 workarounds | 2 comments | feedback id: 1531994  | 
Closed
as Fixed Help for as Fixed
1
0
Sign in
to vote
int main() { /*const*/ int n = 100; //1. if uncomment /*const*/, this program get different result int* p = new int[n]{0}; //2. if uncomment /*const*/, this line generates too many instructions …
Created on 3/5/2015 (updated 23 weeks ago) | 0 validations | 0 workarounds | 2 comments | feedback id: 1163376  | 
Closed
as Fixed Help for as Fixed
1
0
Sign in
to vote
//if run on AMD A8-5550M APU #include <math.h> int main() { //_set_FMA3_enable(false); volatile float v = sin(12.0f); return 0; }
Created on 2/10/2015 (updated 15 weeks ago) | 0 validations | 0 workarounds | 2 comments | feedback id: 1124451  | 
Closed
as Fixed Help for as Fixed
1
0
Sign in
to vote
//run the code with /openmp enabled and open task manager. The process' memory keeps increasing. #include <process.h> #include <omp.h> #include <windows.h> unsigned _stdcall NewThread(void*) …
Created on 2/7/2015 (updated 20 weeks ago) | 0 validations | 0 workarounds | 2 comments | feedback id: 1119905  | 
Closed
as Duplicate Help for as Duplicate
Showing 1 - 10 of 25 Previous 123 Next