itemId stringlengths 1 34 | itemType stringclasses 4
values | site stringclasses 4
values | scrapedAt timestamp[s]date 2026-08-03 00:21:25 2026-08-03 04:01:45 | tagName stringlengths 1 34 ⌀ | questionCount int64 2 2.53M ⌀ | hasSynonyms bool 2
classes | isModeratorOnly bool 1
class | isRequired bool 1
class | link stringlengths 32 258 | _run_id stringclasses 57
values | _dataset_id stringclasses 57
values | questionId int64 1 80M ⌀ | title stringlengths 15 150 ⌀ | score int64 -10 35.3k ⌀ | viewCount int64 6 16.7M ⌀ | answerCount int64 0 296 ⌀ | isAnswered bool 2
classes | hasAcceptedAnswer bool 2
classes | tags listlengths 1 6 ⌀ | createdAt timestamp[s]date 2008-08-01 04:18:04 2026-08-03 03:37:34 ⌀ | lastActivityAt timestamp[s]date 2008-10-30 09:20:18 2026-08-03 01:36:51 ⌀ | ownerDisplayName stringlengths 3 30 ⌀ | isClosed bool 2
classes | contentLicense stringclasses 3
values | acceptedAnswerId int64 4 80M ⌀ | ownerUserId int64 1 33M ⌀ | ownerReputation int64 1 1.53M ⌀ | userId int64 13 33M ⌀ | displayName stringclasses 897
values | reputation int64 1 1.53M ⌀ | userType stringclasses 3
values | lastAccessAt timestamp[s]date 2011-01-10 08:55:57 2026-08-03 03:38:13 ⌀ | goldBadges int64 0 895 ⌀ | silverBadges int64 0 9.32k ⌀ | bronzeBadges int64 0 9.36k ⌀ | reputationChangeMonth int64 -40 1.43k ⌀ | reputationChangeYear int64 -1,146 11.7k ⌀ | websiteUrl stringclasses 302
values | location stringclasses 279
values | acceptRate int64 17 100 ⌀ | answerId int64 1.13k 80M ⌀ | isAccepted bool 2
classes | bodyText stringlengths 31 24.4k ⌀ | bodyHtml stringlengths 39 34.9k ⌀ | answers listlengths 1 3 ⌀ | answersFetched int64 0 3 ⌀ |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
2321511 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/2321511/what-is-meant-by-resource-acquisition-is-initialization-raii | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 2,321,511 | What is meant by Resource Acquisition is Initialization (RAII)? | 531 | 219,107 | 11 | true | false | [
"c++",
"raii"
] | 2010-02-23T20:35:58 | 2025-12-22T15:46:31 | John | false | CC BY-SA 3.0 | null | 279,826 | 5,307 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
222557 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/222557/what-uses-are-there-for-placement-new | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 222,557 | What uses are there for "placement new"? | 530 | 262,931 | 26 | true | true | [
"c++",
"memory-management",
"new-operator",
"placement-new"
] | 2008-10-21T16:34:52 | 2025-02-01T17:32:15 | Head Geek | false | CC BY-SA 4.0 | 222,578 | 12,193 | 40,316 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
5973427 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/5973427/error-passing-const-xxx-as-this-argument-of-member-function-discards-qualifie | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 5,973,427 | error: passing const xxx as 'this' argument of member function discards qualifiers | 527 | 555,645 | 4 | true | true | [
"c++",
"member-functions",
"const-correctness",
"stdset",
"function-qualifier"
] | 2011-05-12T04:52:56 | 2023-10-08T16:08:45 | JASON | false | CC BY-SA 4.0 | 5,973,485 | 670,631 | 7,497 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
19470873 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/19470873/why-does-gcc-generate-15-20-faster-code-if-i-optimize-for-size-instead-of-speed | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 19,470,873 | Why does GCC generate 15-20% faster code if I optimize for size instead of speed? | 522 | 127,190 | 6 | true | true | [
"c++",
"performance",
"gcc",
"x86-64",
"compiler-optimization"
] | 2013-10-19T20:36:16 | 2019-11-27T04:49:59 | Ali | false | CC BY-SA 4.0 | 19,570,226 | 341,970 | 58,999 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
26281979 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/26281979/how-do-you-loop-through-a-stdmap | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 26,281,979 | How do you loop through a std::map? | 518 | 1,066,121 | 8 | true | true | [
"c++",
"for-loop",
"iterator",
"stdmap",
"range-based-loop"
] | 2014-10-09T15:12:09 | 2024-09-10T08:33:48 | NoName | false | CC BY-SA 4.0 | 26,282,004 | 2,619,038 | 10,484 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
4810664 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/4810664/how-do-i-use-arrays-in-c | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 4,810,664 | How do I use arrays in C++? | 517 | 145,694 | 5 | true | true | [
"c++",
"arrays",
"pointers",
"multidimensional-array",
"c++-faq"
] | 2011-01-26T22:14:35 | 2024-02-26T20:54:00 | fredoverflow | false | CC BY-SA 4.0 | 4,810,668 | 252,000 | 265,196 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
92859 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/92859/what-are-the-differences-between-struct-and-class-in-c | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 92,859 | What are the differences between struct and class in C++? | 517 | 412,911 | 29 | true | true | [
"c++",
"oop",
"class",
"struct",
"c++-faq"
] | 2008-09-18T14:09:58 | 2022-09-23T09:20:20 | palm3D | false | CC BY-SA 3.0 | 999,810 | 2,686 | 8,370 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
9158894 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/9158894/differences-between-c-string-and-compare | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 9,158,894 | Differences between C++ string == and compare()? | 513 | 930,757 | 9 | true | true | [
"c++",
"string"
] | 2012-02-06T10:44:00 | 2025-01-01T19:40:15 | Klaim | false | CC BY-SA 3.0 | 9,159,670 | 2,368 | 70,447 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
8114276 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/8114276/how-do-i-pass-a-unique-ptr-argument-to-a-constructor-or-a-function | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 8,114,276 | How do I pass a unique_ptr argument to a constructor or a function? | 512 | 278,502 | 7 | true | true | [
"c++",
"arguments",
"c++11",
"unique-ptr"
] | 2011-11-13T19:58:49 | 2021-04-23T21:03:43 | codablank1 | false | CC BY-SA 3.0 | 8,114,913 | 993,743 | 6,285 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1127396 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/1127396/can-a-struct-have-a-constructor-in-c | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 1,127,396 | Can a struct have a constructor in C++? | 512 | 936,341 | 17 | true | false | [
"c++",
"struct",
"constructor"
] | 2009-07-14T19:12:09 | 2023-09-10T11:34:16 | Jay | false | CC BY-SA 4.0 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1993390 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/1993390/static-linking-vs-dynamic-linking | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 1,993,390 | Static linking vs dynamic linking | 510 | 340,919 | 16 | true | true | [
"c++",
"c",
"performance",
"static-linking",
"dynamic-linking"
] | 2010-01-03T00:06:12 | 2025-05-21T14:59:30 | Eloff | false | CC BY-SA 3.0 | 1,993,407 | 152,580 | 22,018 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1461432 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/1461432/what-is-array-to-pointer-conversion-aka-decay | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 1,461,432 | What is array-to-pointer conversion aka. decay? | 508 | 122,464 | 11 | true | true | [
"c++",
"c",
"arrays",
"pointers"
] | 2009-09-22T17:24:43 | 2023-09-25T23:15:21 | Vamsi | false | CC BY-SA 4.0 | 1,461,449 | 177,303 | 6,073 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
45723819 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/45723819/what-is-a-span-and-when-should-i-use-one | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 45,723,819 | What is a "span" and when should I use one? | 503 | 244,132 | 5 | true | true | [
"c++",
"c++20",
"c++-faq",
"cpp-core-guidelines",
"std-span"
] | 2017-08-16T22:15:05 | 2025-11-20T22:54:58 | einpoklum | false | CC BY-SA 4.0 | 45,723,820 | 1,593,077 | 140,800 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
13346879 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/13346879/const-vs-constexpr-on-variables | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 13,346,879 | const vs constexpr on variables | 501 | 265,915 | 6 | true | true | [
"c++",
"variables",
"c++11",
"constants",
"constexpr"
] | 2012-11-12T15:50:13 | 2022-07-24T04:13:35 | fredoverflow | true | null | 13,347,355 | 252,000 | 265,196 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
625799 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/625799/resolve-build-errors-due-to-circular-dependency-amongst-classes | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 625,799 | Resolve build errors due to circular dependency amongst classes | 495 | 336,884 | 12 | true | true | [
"c++",
"compiler-errors",
"circular-dependency",
"c++-faq"
] | 2009-03-09T10:57:28 | 2025-08-22T05:23:53 | Sandeep Datta | false | CC BY-SA 3.0 | 628,079 | 39,648 | 29,614 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
409348 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/409348/iteration-over-stdvector-unsigned-vs-signed-index-variable | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 409,348 | Iteration over std::vector: unsigned vs signed index variable | 493 | 870,436 | 18 | true | true | [
"c++",
"stl",
"unsigned",
"signed"
] | 2009-01-03T16:52:24 | 2022-12-29T00:35:23 | Yuval Adam | false | CC BY-SA 4.0 | 409,396 | 24,545 | 166,176 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
12717138 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/12717138/what-is-linux-s-native-gui-api | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 12,717,138 | What is Linux’s native GUI API? | 491 | 143,938 | 11 | true | true | [
"c++",
"c",
"linux",
"user-interface"
] | 2012-10-03T21:23:50 | 2021-01-01T20:02:21 | DavidColson | false | CC BY-SA 4.0 | 12,717,284 | 906,367 | 8,637 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
7352099 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/7352099/stdstring-to-char | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 7,352,099 | std::string to char* | 491 | 1,308,625 | 18 | true | true | [
"c++",
"string",
"char"
] | 2011-09-08T17:25:22 | 2024-02-19T14:39:21 | user1598585 | true | null | 7,352,131 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
2923272 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/2923272/how-to-convert-vector-to-array | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 2,923,272 | How to convert vector to array | 486 | 561,505 | 9 | true | true | [
"c++",
"arrays",
"stdvector"
] | 2010-05-27T17:14:40 | 2026-04-22T07:37:20 | ganuke | false | CC BY-SA 4.0 | 2,923,290 | 327,021 | 5,195 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1701067 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/1701067/how-to-check-that-an-element-is-in-a-stdset | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 1,701,067 | How to check that an element is in a std::set? | 486 | 595,314 | 12 | true | true | [
"c++",
"stl",
"set",
"contains"
] | 2009-11-09T13:46:08 | 2023-05-04T20:54:12 | fulmicoton | false | CC BY-SA 3.0 | 1,701,083 | 446,497 | 16,118 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
53849 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/53849/how-do-i-tokenize-a-string-in-c | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 53,849 | How do I tokenize a string in C++? | 485 | 679,584 | 38 | true | true | [
"c++",
"string",
"split",
"tokenize"
] | 2008-09-10T12:10:25 | 2025-03-02T08:22:14 | Bill the Lizard | true | null | 53,863 | 1,288 | 407,925 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1143936 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/1143936/pragma-once-vs-include-guards | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 1,143,936 | #pragma once vs include guards? | 483 | 398,088 | 13 | true | true | [
"c++"
] | 2009-07-17T15:18:03 | 2023-05-16T20:37:43 | Matt Price | true | null | 1,143,958 | 852 | 45,803 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
21558 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/21558/in-c-what-is-a-virtual-base-class | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 21,558 | In C++, what is a virtual base class? | 483 | 374,692 | 11 | true | true | [
"c++",
"virtual-inheritance"
] | 2008-08-22T01:13:15 | 2023-06-15T11:07:59 | popopome | false | CC BY-SA 3.0 | 21,607 | 1,556 | 12,540 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
10087113 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/10087113/how-many-levels-of-pointers-can-we-have | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 10,087,113 | How many levels of pointers can we have? | 480 | 57,322 | 15 | true | false | [
"c++",
"c",
"pointers",
"language-lawyer",
"limit"
] | 2012-04-10T10:34:17 | 2025-07-04T06:03:22 | Parag | false | CC BY-SA 4.0 | null | 1,297,267 | 8,036 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
31816095 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/31816095/why-should-i-not-include-bits-stdc-h | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 31,816,095 | Why should I not #include <bits/stdc++.h>? | 480 | 110,906 | 10 | true | true | [
"c++",
"portability",
"turbo-c++",
"c++-faq",
"implementation-defined-behavior"
] | 2015-08-04T17:57:15 | 2024-10-07T09:27:25 | Lightness Races in Orbit | false | CC BY-SA 4.0 | 31,816,096 | 560,648 | 387,381 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
922360 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/922360/why-cant-i-make-a-vector-of-references | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 922,360 | Why can't I make a vector of references? | 476 | 296,009 | 11 | true | false | [
"c++",
"reference",
"stl",
"stdvector",
"container-data-type"
] | 2009-05-28T18:04:09 | 2024-02-26T22:29:32 | Colen | false | CC BY-SA 4.0 | null | 13,500 | 14,098 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1887097 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/1887097/why-arent-variable-length-arrays-part-of-the-c-standard | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 1,887,097 | Why aren't variable-length arrays part of the C++ standard? | 474 | 225,777 | 10 | true | true | [
"c++",
"arrays",
"language-design",
"variable-length-array",
"variable-length"
] | 2009-12-11T10:15:40 | 2023-09-26T00:10:16 | Andreas Brinck | false | CC BY-SA 4.0 | 1,887,178 | 125,672 | 52,957 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1358400 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/1358400/what-is-external-linkage-and-internal-linkage | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 1,358,400 | What is external linkage and internal linkage? | 474 | 220,769 | 9 | true | true | [
"c++",
"c++-faq"
] | 2009-08-31T17:16:23 | 2022-12-24T21:00:21 | rkb | false | CC BY-SA 3.0 | 1,358,622 | 138,832 | 11,261 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
162941 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/162941/why-use-pointers | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 162,941 | Why use pointers? | 472 | 406,670 | 17 | true | false | [
"c++",
"c",
"pointers"
] | 2008-10-02T15:19:20 | 2020-11-19T20:46:53 | Anonymous | true | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
11004273 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/11004273/what-is-stdpromise | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 11,004,273 | What is std::promise? | 470 | 138,784 | 9 | true | true | [
"c++",
"multithreading",
"c++11",
"promise",
"standard-library"
] | 2012-06-12T20:23:35 | 2020-11-10T13:34:43 | Kerrek SB | false | CC BY-SA 4.0 | 11,020,645 | 596,781 | 481,774 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
5727 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/5727/what-are-the-barriers-to-understanding-pointers-and-what-can-be-done-to-overcome | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 5,727 | What are the barriers to understanding pointers and what can be done to overcome them? | 468 | 94,455 | 28 | true | true | [
"c++",
"c",
"pointers"
] | 2008-08-08T06:17:51 | 2024-01-09T11:13:24 | David McGraw | true | null | 5,754 | 568 | 5,187 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
7058339 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/7058339/when-should-i-use-pointers-instead-of-references-in-api-design | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 7,058,339 | When should I use pointers instead of references in API-design? | 467 | 263,823 | 17 | true | true | [
"c++",
"pointers",
"reference",
"api-design"
] | 2011-08-14T17:08:30 | 2023-09-27T20:05:21 | connec | false | CC BY-SA 4.0 | 7,058,373 | 384,638 | 7,481 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
5508110 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/5508110/why-is-this-program-erroneously-rejected-by-three-c-compilers | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 5,508,110 | Why is this program erroneously rejected by three C++ compilers? | 465 | 390,077 | 31 | true | true | [
"c++",
"visual-c++",
"compiler-errors",
"clang"
] | 2011-04-01T00:50:02 | 2013-07-02T18:08:22 | James McNellis | false | CC BY-SA 3.0 | 5,508,168 | 151,292 | 357,551 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
2053029 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/2053029/how-exactly-does-attribute-constructor-work | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 2,053,029 | How exactly does __attribute__((constructor)) work? | 461 | 213,608 | 5 | true | true | [
"c++",
"c",
"objective-c",
"gcc",
"compiler-extension"
] | 2010-01-12T22:43:04 | 2024-11-27T06:38:55 | Casebash | false | CC BY-SA 4.0 | 2,053,078 | 165,495 | 120,251 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
2298242 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/2298242/callback-functions-in-c | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 2,298,242 | Callback functions in C++ | 460 | 715,241 | 14 | true | true | [
"c++",
"callback",
"function-pointers"
] | 2010-02-19T17:16:47 | 2025-09-22T07:04:22 | cpx | false | CC BY-SA 4.0 | 28,689,902 | 187,543 | 17,667 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
554063 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/554063/how-do-i-print-a-double-value-with-full-precision-using-cout | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 554,063 | How do I print a double value with full precision using cout? | 460 | 747,193 | 16 | true | true | [
"c++",
"floating-point",
"precision",
"iostream",
"cout"
] | 2009-02-16T18:15:18 | 2025-03-10T13:48:08 | user6212 | false | CC BY-SA 4.0 | 65,329,803 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
8767166 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/8767166/passing-a-2d-array-to-a-c-function | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 8,767,166 | Passing a 2D array to a C++ function | 459 | 1,104,217 | 19 | true | true | [
"c++",
"arrays",
"pointers",
"multidimensional-array"
] | 2012-01-07T03:40:31 | 2025-11-02T12:43:45 | RogerDarwin | false | CC BY-SA 4.0 | 8,767,247 | 1,135,511 | 4,563 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
2795023 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/2795023/c-template-typedef | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 2,795,023 | C++ template typedef | 457 | 246,631 | 1 | true | true | [
"c++",
"templates",
"c++11",
"typedef"
] | 2010-05-08T17:40:53 | 2019-07-11T02:25:12 | Notinlist | false | CC BY-SA 4.0 | 2,795,024 | 163,454 | 16,750 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
712279 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/712279/what-is-the-usefulness-of-enable-shared-from-this | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 712,279 | What is the usefulness of `enable_shared_from_this`? | 457 | 159,497 | 6 | true | true | [
"c++",
"boost",
"boost-asio",
"tr1"
] | 2009-04-03T01:46:07 | 2026-06-03T09:47:13 | fido | false | CC BY-SA 4.0 | 712,307 | 84,842 | 5,926 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
3211771 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/3211771/how-to-convert-int-to-qstring | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 3,211,771 | How to convert int to QString? | 456 | 721,616 | 9 | true | true | [
"c++",
"qt",
"type-conversion"
] | 2010-07-09T10:31:11 | 2026-06-29T09:04:11 | Ahmad | false | CC BY-SA 3.0 | 3,211,784 | 366,207 | 13,536 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1711990 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/1711990/what-is-this-weird-colon-member-syntax-in-the-constructor | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 1,711,990 | What is this weird colon-member (" : ") syntax in the constructor? | 453 | 156,075 | 14 | true | true | [
"c++",
"syntax",
"constructor",
"c++-faq",
"ctor-initializer"
] | 2009-11-10T23:29:48 | 2023-06-14T14:55:20 | nils | false | CC BY-SA 4.0 | 1,711,995 | 176,437 | 4,849 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
9017573 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/9017573/define-a-preprocessor-macro-through-cmake | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 9,017,573 | Define a preprocessor macro through CMake | 452 | 483,013 | 6 | true | true | [
"c++",
"cmake",
"c-preprocessor"
] | 2012-01-26T11:35:58 | 2024-05-05T11:06:13 | Mythli | false | CC BY-SA 4.0 | 9,017,635 | 524,041 | 6,455 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
677620 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/677620/do-i-need-to-explicitly-call-the-base-virtual-destructor | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 677,620 | Do I need to explicitly call the base virtual destructor? | 452 | 207,448 | 7 | true | true | [
"c++",
"destructor"
] | 2009-03-24T14:22:10 | 2024-07-29T08:58:26 | Nick Bolton | false | CC BY-SA 2.5 | 677,626 | 47,775 | 40,040 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
13703647 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/13703647/how-to-properly-add-include-directories-with-cmake | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 13,703,647 | How to properly add include directories with CMake | 451 | 1,079,227 | 12 | true | true | [
"c++",
"cmake"
] | 2012-12-04T13:04:54 | 2025-04-19T18:25:28 | Matthieu M. | false | CC BY-SA 4.0 | 13,703,725 | 147,192 | 304,485 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1306778 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/1306778/virtual-pure-virtual-explained | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 1,306,778 | Virtual/pure virtual explained | 451 | 354,948 | 12 | true | true | [
"c++",
"virtual"
] | 2009-08-20T15:00:35 | 2026-06-16T13:42:03 | Justin | false | CC BY-SA 4.0 | 1,306,837 | 149,992 | 9,929 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
787533 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/787533/is-pragma-once-a-safe-include-guard | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 787,533 | Is #pragma once a safe include guard? | 451 | 267,810 | 16 | true | true | [
"c++",
"pragma",
"include-guards"
] | 2009-04-24T20:50:35 | 2025-11-18T17:21:33 | Ryan Emerle | false | CC BY-SA 4.0 | 787,539 | 62,195 | 15,899 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
261963 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/261963/how-can-i-iterate-over-an-enum | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 261,963 | How can I iterate over an enum? | 450 | 571,020 | 31 | true | true | [
"c++",
"enums"
] | 2008-11-04T13:55:29 | 2026-04-24T10:13:29 | Wavesonics | false | CC BY-SA 4.0 | 261,986 | 1,366 | 26,615 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
205945 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/205945/why-does-the-c-stl-not-provide-any-tree-containers | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 205,945 | Why does the C++ STL not provide any "tree" containers? | 448 | 280,745 | 16 | true | true | [
"c++",
"data-structures",
"tree",
"stl"
] | 2008-10-15T18:52:42 | 2024-03-26T01:33:00 | Roddy | false | CC BY-SA 4.0 | 205,985 | 1,737 | 68,680 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
14589346 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/14589346/is-c-context-free-or-context-sensitive | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 14,589,346 | Is C++ context-free or context-sensitive? | 448 | 82,985 | 20 | true | true | [
"c++",
"syntax",
"grammar",
"context-free-grammar",
"context-sensitive-grammar"
] | 2013-01-29T18:05:56 | 2025-11-10T18:58:49 | fredoverflow | false | CC BY-SA 3.0 | 14,589,567 | 252,000 | 265,196 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
11016220 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/11016220/what-are-inline-namespaces-for | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 11,016,220 | What are inline namespaces for? | 448 | 96,380 | 6 | true | true | [
"c++",
"namespaces",
"c++11",
"inline-namespaces"
] | 2012-06-13T13:46:13 | 2024-10-08T13:54:45 | Walter | false | CC BY-SA 3.0 | 11,018,418 | 1,023,390 | 45,940 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1878001 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/1878001/how-do-i-check-if-a-c-stdstring-starts-with-a-certain-string-and-convert-a | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 1,878,001 | How do I check if a C++ std::string starts with a certain string, and convert a substring to an int? | 446 | 593,620 | 24 | true | true | [
"c++",
"string",
"parsing",
"substring",
"startswith"
] | 2009-12-10T00:57:26 | 2024-03-27T10:02:54 | Daryl Spitzer | false | CC BY-SA 4.0 | 40,441,240 | 4,766 | 151,222 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
10750057 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/10750057/how-do-i-print-out-the-contents-of-a-vector | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 10,750,057 | How do I print out the contents of a vector? | 443 | 1,337,056 | 33 | true | true | [
"c++",
"vector",
"output",
"stdvector",
"cout"
] | 2012-05-25T07:13:52 | 2025-11-22T15:36:50 | forthewinwin | false | CC BY-SA 4.0 | 10,758,845 | 1,399,580 | 4,813 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1257744 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/1257744/can-i-use-break-to-exit-multiple-nested-for-loops | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 1,257,744 | Can I use break to exit multiple nested 'for' loops? | 440 | 410,305 | 15 | true | true | [
"c++",
"for-loop",
"break",
"nested-loops"
] | 2009-08-10T23:15:11 | 2024-10-25T19:17:29 | Faken | false | CC BY-SA 4.0 | 1,257,760 | 134,046 | 11,912 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
8542591 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/8542591/c11-reverse-range-based-for-loop | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 8,542,591 | C++11 reverse range-based for-loop | 439 | 219,795 | 12 | true | true | [
"c++",
"c++11",
"ranged-loops"
] | 2011-12-17T04:29:25 | 2024-04-03T23:14:59 | Alex B | false | CC BY-SA 4.0 | 8,544,956 | 23,643 | 85,652 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
570669 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/570669/checking-if-a-double-or-float-is-nan-in-c | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 570,669 | Checking if a double (or float) is NaN in C++ | 438 | 511,239 | 21 | true | true | [
"c++",
"double",
"nan"
] | 2009-02-20T18:09:53 | 2025-06-12T09:19:49 | hasen | false | CC BY-SA 4.0 | 570,694 | 35,364 | 167,612 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
10363646 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/10363646/compiling-c11-with-g | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 10,363,646 | Compiling C++11 with g++ | 435 | 971,648 | 6 | true | true | [
"c++",
"c++11",
"g++",
"flags"
] | 2012-04-28T12:52:24 | 2021-11-18T08:34:12 | Rontogiannis Aristofanis | false | CC BY-SA 4.0 | 10,363,883 | 1,341,622 | 9,101 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
672373 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/672373/can-i-call-a-base-classs-virtual-function-if-im-overriding-it | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 672,373 | Can I call a base class's virtual function if I'm overriding it? | 434 | 339,295 | 8 | true | true | [
"c++",
"virtual-functions",
"overriding"
] | 2009-03-23T06:17:06 | 2022-09-04T18:45:35 | Alex | false | CC BY-SA 3.0 | 672,376 | 63,791 | 15,473 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
2808398 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/2808398/easily-measure-elapsed-time | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 2,808,398 | Easily measure elapsed time | 433 | 797,424 | 26 | true | false | [
"c++",
"c",
"linux",
"time",
"measurement"
] | 2010-05-11T06:04:29 | 2023-06-03T22:06:25 | hap497 | false | CC BY-SA 3.0 | null | 128,983 | 165,291 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
17016175 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/17016175/c-unordered-map-using-a-custom-class-type-as-the-key | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 17,016,175 | C++ unordered_map using a custom class type as the key | 431 | 458,905 | 8 | true | false | [
"c++",
"hash",
"g++",
"unordered-map",
"hashtree"
] | 2013-06-10T02:34:40 | 2025-04-13T15:32:41 | Alfred Zhong | false | CC BY-SA 4.0 | null | 903,083 | 7,221 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
59670 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/59670/how-to-get-rid-of-deprecated-conversion-from-string-constant-to-char-warnin | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 59,670 | How to get rid of `deprecated conversion from string constant to ‘char*’` warnings in GCC | 429 | 469,473 | 23 | true | true | [
"c++",
"string",
"gcc"
] | 2008-09-12T18:15:55 | 2022-10-28T14:56:54 | Josh Matthews | false | CC BY-SA 4.0 | 59,687 | 3,830 | 13,096 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
246564 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/246564/what-is-the-lifetime-of-a-static-variable-in-a-c-function | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 246,564 | What is the lifetime of a static variable in a C++ function? | 428 | 236,770 | 5 | true | true | [
"c++",
"static",
"lifetime"
] | 2008-10-29T12:14:03 | 2025-07-02T03:21:43 | Motti | false | CC BY-SA 4.0 | 246,568 | 3,848 | 115,987 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1657883 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/1657883/variable-number-of-arguments-in-c | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 1,657,883 | Variable number of arguments in C++? | 427 | 592,487 | 17 | true | true | [
"c++",
"variadic-functions"
] | 2009-11-01T18:25:01 | 2024-05-07T12:34:35 | nunos | false | CC BY-SA 3.0 | 1,657,924 | 161,746 | 21,647 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
17095324 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/17095324/fastest-way-to-determine-if-an-integer-is-between-two-integers-inclusive-with | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 17,095,324 | Fastest way to determine if an integer is between two integers (inclusive) with known sets of values | 424 | 105,725 | 7 | true | true | [
"c++",
"c",
"performance",
"math"
] | 2013-06-13T19:21:42 | 2024-10-16T11:24:15 | jjxtra | false | CC BY-SA 3.0 | 17,095,534 | 56,079 | 21,463 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
24901 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/24901/is-there-a-performance-difference-between-i-and-i-in-c | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 24,901 | Is there a performance difference between i++ and ++i in C++? | 424 | 113,793 | 20 | true | true | [
"c++",
"performance",
"oop",
"post-increment",
"pre-increment"
] | 2008-08-24T07:14:22 | 2022-10-11T16:24:33 | Mark Harrison | false | CC BY-SA 3.0 | 24,904 | 116 | 306,711 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
10681375 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/10681375/which-is-better-option-to-use-for-dividing-an-integer-number-by-2 | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 10,681,375 | Which is better option to use for dividing an integer number by 2? | 419 | 79,911 | 22 | true | true | [
"c++",
"c",
"optimization",
"division",
"micro-optimization"
] | 2012-05-21T07:54:36 | 2022-05-03T05:00:24 | Abhineet | true | null | 10,681,422 | 223,622 | 6,655 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
752658 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/752658/is-the-practice-of-returning-a-c-reference-variable-evil | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 752,658 | Is the practice of returning a C++ reference variable evil? | 419 | 416,316 | 17 | true | true | [
"c++",
"reference",
"c++-faq"
] | 2009-04-15T16:49:49 | 2026-04-10T02:46:23 | Nick Bolton | true | null | 752,699 | 47,775 | 40,040 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
6963894 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/6963894/how-to-use-range-based-for-loop-with-stdmap | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 6,963,894 | How to use range-based for() loop with std::map? | 418 | 362,423 | 5 | true | true | [
"c++",
"c++11",
"for-loop",
"dictionary"
] | 2011-08-06T00:12:29 | 2025-04-30T20:02:10 | Stéphane | false | CC BY-SA 3.0 | 6,963,910 | 13,022 | 20,644 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
306316 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/306316/determine-if-two-rectangles-overlap-each-other | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 306,316 | Determine if two rectangles overlap each other? | 417 | 372,845 | 22 | true | true | [
"c++",
"algorithm",
"geometry",
"overlap",
"rectangles"
] | 2008-11-20T18:21:45 | 2026-01-14T08:47:14 | Rob Burke | false | CC BY-SA 3.0 | 306,332 | 135 | 5,535 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
20895648 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/20895648/difference-in-make-shared-and-normal-shared-ptr-in-c | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 20,895,648 | Difference in make_shared and normal shared_ptr in C++ | 417 | 214,890 | 8 | true | true | [
"c++",
"c++11",
"shared-ptr"
] | 2014-01-03T02:44:38 | 2024-04-06T02:55:11 | Anup Buchke | false | CC BY-SA 4.0 | 20,895,705 | 1,706,864 | 5,580 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
40127965 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/40127965/how-exactly-is-stdstring-view-faster-than-const-stdstring | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 40,127,965 | How exactly is std::string_view faster than const std::string&? | 416 | 140,869 | 5 | true | true | [
"c++",
"string",
"c++17",
"string-view"
] | 2016-10-19T09:55:02 | 2026-03-06T07:27:53 | Patryk | false | CC BY-SA 4.0 | 40,129,198 | 675,100 | 24,544 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
9025084 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/9025084/sorting-a-vector-in-descending-order | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 9,025,084 | Sorting a vector in descending order | 416 | 397,087 | 11 | true | true | [
"c++",
"sorting",
"stl",
"vector",
"iterator"
] | 2012-01-26T20:47:02 | 2023-11-04T04:35:37 | fredoverflow | false | CC BY-SA 3.0 | 37,757,410 | 252,000 | 265,196 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
421573 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/421573/best-way-to-extract-a-subvector-from-a-vector | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 421,573 | Best way to extract a subvector from a vector? | 414 | 609,427 | 18 | true | true | [
"c++",
"stl",
"vector",
"range"
] | 2009-01-07T18:56:28 | 2024-12-27T20:00:41 | An̲̳̳drew | false | CC BY-SA 3.0 | 421,615 | 17,035 | 14,072 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
3789340 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/3789340/combining-c-and-c-how-does-ifdef-cplusplus-work | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 3,789,340 | Combining C++ and C - how does #ifdef __cplusplus work? | 413 | 331,097 | 5 | true | true | [
"c++",
"c",
"c-preprocessor",
"extern-c"
] | 2010-09-24T17:03:28 | 2024-08-06T22:30:39 | dublev | false | CC BY-SA 3.0 | 3,789,553 | 157,984 | 4,465 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
8480640 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/8480640/how-to-throw-a-c-exception | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 8,480,640 | How to throw a C++ exception | 412 | 737,824 | 6 | true | true | [
"c++",
"exception"
] | 2011-12-12T20:51:05 | 2024-07-01T17:17:02 | Terry Li | false | CC BY-SA 3.0 | 8,480,675 | 761,330 | 17,314 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
4424579 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/4424579/stdvector-versus-stdarray-in-c | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 4,424,579 | std::vector versus std::array in C++ | 411 | 207,251 | 6 | true | true | [
"c++",
"arrays",
"vector"
] | 2010-12-12T22:55:35 | 2023-09-10T10:28:24 | Zud | false | CC BY-SA 3.0 | 4,424,658 | 471,812 | 4,547 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1596668 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/1596668/logical-xor-operator-in-c | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 1,596,668 | Logical XOR operator in C++? | 411 | 573,460 | 12 | true | true | [
"c++",
"operators",
"logical-operators"
] | 2009-10-20T19:01:36 | 2023-09-28T04:13:25 | RAC | false | CC BY-SA 3.0 | 1,596,681 | 127,578 | 5,359 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
10673585 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/10673585/start-thread-with-member-function | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 10,673,585 | Start thread with member function | 410 | 511,860 | 5 | true | true | [
"c++",
"multithreading",
"c++11",
"stdthread"
] | 2012-05-20T12:55:19 | 2024-06-16T15:03:03 | abergmeier | false | CC BY-SA 4.0 | 10,673,671 | 725,937 | 14,280 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
7959573 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/7959573/declaring-variables-inside-loops-good-practice-or-bad-practice | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 7,959,573 | Declaring variables inside loops, good practice or bad practice? | 409 | 286,796 | 10 | true | true | [
"c++",
"loops",
"variable-declaration"
] | 2011-10-31T20:50:42 | 2024-07-12T14:48:14 | JeramyRR | true | null | 7,959,658 | 994,018 | 4,471 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
17944 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/17944/how-to-round-up-the-result-of-integer-division | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 17,944 | How to round up the result of integer division? | 408 | 293,274 | 21 | true | true | [
"java",
"c#",
"c++",
"math"
] | 2008-08-20T13:27:40 | 2025-01-11T00:44:23 | Ian Nelson | false | CC BY-SA 4.0 | 17,974 | 2,084 | 59,156 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
17434 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/17434/when-should-you-use-friend-in-c | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 17,434 | When should you use 'friend' in C++? | 408 | 209,218 | 31 | true | true | [
"c++",
"oop",
"encapsulation",
"friend"
] | 2008-08-20T05:29:32 | 2022-12-02T06:49:45 | roo | false | CC BY-SA 3.0 | 17,443 | 716 | 7,256 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
5120768 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/5120768/how-to-implement-the-factory-method-pattern-in-c-correctly | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 5,120,768 | How to implement the factory method pattern in C++ correctly | 403 | 252,515 | 11 | true | true | [
"c++",
"design-patterns",
"idioms",
"factory-method"
] | 2011-02-25T17:52:02 | 2021-11-12T11:35:40 | Kos | false | CC BY-SA 3.0 | 5,121,500 | 399,317 | 72,815 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
2616906 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/2616906/how-do-i-output-coloured-text-to-a-linux-terminal | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 2,616,906 | How do I output coloured text to a Linux terminal? | 403 | 431,784 | 17 | true | true | [
"c++",
"linux",
"colors",
"terminal"
] | 2010-04-11T11:58:06 | 2025-04-15T12:35:05 | Macha | false | CC BY-SA 4.0 | 2,616,912 | 67,366 | 14,744 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
3310737 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/3310737/should-we-pass-a-shared-ptr-by-reference-or-by-value | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 3,310,737 | Should we pass a shared_ptr by reference or by value? | 402 | 205,366 | 11 | true | true | [
"c++",
"c++11",
"boost",
"shared-ptr"
] | 2010-07-22T15:48:24 | 2024-12-03T03:29:53 | Danvil | false | CC BY-SA 4.0 | 8,741,626 | 316,448 | 23,219 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
4748083 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/4748083/should-i-declare-a-constant-instead-of-writing-a-constexpr-function | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 4,748,083 | Should I declare a constant instead of writing a constexpr function? | 399 | 163,375 | 15 | true | true | [
"c++",
"c++11",
"constexpr",
"constexpr-function"
] | 2011-01-20T14:07:06 | 2024-12-17T03:22:46 | Warren P | false | CC BY-SA 4.0 | 4,748,291 | 84,704 | 69,953 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
2354210 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/2354210/can-a-class-member-function-template-be-virtual | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 2,354,210 | Can a class member function template be virtual? | 399 | 314,800 | 16 | true | false | [
"c++",
"templates",
"virtual-functions",
"function-templates"
] | 2010-03-01T06:26:35 | 2024-08-10T15:55:44 | WannaBeGeek | false | CC BY-SA 4.0 | null | 283,408 | 4,096 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
9688200 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/9688200/difference-between-shared-objects-so-static-libraries-a-and-dlls-so | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 9,688,200 | Difference between shared objects (.so), static libraries (.a), and DLL's (.so)? | 398 | 268,937 | 5 | true | true | [
"c++",
"c",
"linux",
"dll",
"linker"
] | 2012-03-13T16:37:53 | 2026-05-30T14:24:31 | Cloud | false | CC BY-SA 4.0 | 9,688,338 | 1,022,889 | 19,501 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
39382501 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/39382501/what-is-the-purpose-of-stdlaunder | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 39,382,501 | What is the purpose of std::launder? | 397 | 77,706 | 3 | true | true | [
"c++",
"memory",
"c++17",
"c++-faq",
"stdlaunder"
] | 2016-09-08T04:16:01 | 2023-06-03T14:14:06 | Barry | false | CC BY-SA 4.0 | 39,382,728 | 2,069,064 | 314,709 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
20772893 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/20772893/how-to-detect-a-christmas-tree | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 20,772,893 | How to detect a Christmas Tree? | 397 | 27,096 | 10 | true | true | [
"c++",
"python",
"opencv",
"image-processing",
"computer-vision"
] | 2013-12-25T12:40:55 | 2023-03-03T09:12:14 | karlphillip | false | CC BY-SA 4.0 | 20,850,922 | 176,769 | 93,756 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
4850473 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/4850473/pretty-print-c-stl-containers | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 4,850,473 | Pretty-print C++ STL containers | 397 | 49,446 | 0 | true | false | [
"c++",
"templates",
"c++11",
"operator-overloading",
"pretty-print"
] | 2011-01-31T11:44:25 | 2021-02-03T08:08:21 | Kerrek SB | true | null | null | 596,781 | 481,774 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
11516657 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/11516657/c-structure-initialization | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 11,516,657 | C++ Structure Initialization | 395 | 889,104 | 17 | true | true | [
"c++",
"struct",
"initialization"
] | 2012-07-17T05:46:22 | 2022-10-20T05:43:32 | Dinesh P.R. | true | null | 11,516,847 | 1,040,174 | 7,486 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
2762568 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/2762568/c-c-include-header-file-order | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 2,762,568 | C/C++ include header file order | 395 | 192,925 | 11 | true | true | [
"c++",
"c",
"include"
] | 2010-05-04T03:09:22 | 2023-06-06T21:41:58 | Anycorn | true | null | 2,762,596 | 206,328 | 51,953 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
12030650 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/12030650/when-is-stdweak-ptr-useful | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 12,030,650 | When is std::weak_ptr useful? | 394 | 248,041 | 15 | true | true | [
"c++",
"c++11",
"shared-ptr",
"weak-ptr",
"c++-faq"
] | 2012-08-19T23:00:05 | 2023-09-24T15:35:35 | user1434698 | false | CC BY-SA 4.0 | 12,030,687 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
9387610 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/9387610/what-xml-parser-should-i-use-in-c | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 9,387,610 | What XML parser should I use in C++? | 393 | 218,758 | 6 | true | false | [
"c++",
"xml-parsing",
"c++-faq"
] | 2012-02-22T00:44:50 | 2023-10-17T13:45:42 | Nicol Bolas | true | null | null | 734,069 | 483,484 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
3450860 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/3450860/check-if-a-stdvector-contains-a-certain-object | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 3,450,860 | check if a std::vector contains a certain object? | 393 | 807,347 | 3 | true | true | [
"c++",
"vector"
] | 2010-08-10T15:52:47 | 2020-01-31T06:51:22 | jmasterx | true | null | 3,450,906 | 146,780 | 54,581 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
81656 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/81656/where-do-i-find-the-current-c-or-c-standard-documents | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 81,656 | Where do I find the current C or C++ standard documents? | 393 | 203,923 | 11 | true | true | [
"c++",
"c",
"standards",
"c++-faq"
] | 2008-09-17T10:04:04 | 2026-06-14T19:07:33 | Christoffer | false | CC BY-SA 4.0 | 83,763 | 15,514 | 13,008 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
4324763 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/4324763/can-we-have-functions-inside-functions-in-c | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 4,324,763 | Can we have functions inside functions in C++? | 392 | 429,020 | 13 | true | true | [
"c++"
] | 2010-12-01T13:23:26 | 2023-02-09T20:25:38 | Rella | false | CC BY-SA 4.0 | 4,324,780 | 434,051 | 67,547 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
1041620 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/1041620/whats-the-most-efficient-way-to-erase-duplicates-and-sort-a-vector | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 1,041,620 | What's the most efficient way to erase duplicates and sort a vector? | 392 | 640,448 | 28 | true | true | [
"c++",
"sorting",
"vector",
"stl",
"duplicates"
] | 2009-06-25T00:28:42 | 2026-05-13T14:19:49 | Kyle Ryan | false | CC BY-SA 3.0 | 1,041,939 | 113,435 | 4,551 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
3016956 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/3016956/how-do-i-install-the-openssl-libraries-on-ubuntu | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 3,016,956 | How do I install the OpenSSL libraries on Ubuntu? | 391 | 949,864 | 10 | true | true | [
"c++",
"ubuntu",
"installation",
"openssl"
] | 2010-06-10T17:40:21 | 2022-09-02T22:49:02 | Daryl Spitzer | false | CC BY-SA 3.0 | 3,016,986 | 4,766 | 151,222 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
321068 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/321068/returning-multiple-values-from-a-c-function | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 321,068 | Returning multiple values from a C++ function | 391 | 653,933 | 23 | true | true | [
"c++"
] | 2008-11-26T15:19:01 | 2026-01-28T00:40:39 | Fred Larson | true | null | 321,080 | 10,077 | 62,432 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
266168 | question | stackoverflow | 2026-08-03T00:25:15 | null | null | null | null | null | https://stackoverflow.com/questions/266168/simple-example-of-threading-in-c | 58vR7T6SQUHfY2q4Q | bbYBHiDGauQ00rcme | 266,168 | Simple example of threading in C++ | 389 | 1,088,332 | 7 | true | true | [
"c++",
"multithreading"
] | 2008-11-05T18:37:15 | 2022-05-12T21:47:29 | Zak | false | CC BY-SA 4.0 | 11,229,853 | 2,112,692 | 25,285 | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.