Title: [BUG] use C++11 keyword nullptr · Issue #241 · etr/libhttpserver · GitHub
Open Graph Title: [BUG] use C++11 keyword nullptr · Issue #241 · etr/libhttpserver
X Title: [BUG] use C++11 keyword nullptr · Issue #241 · etr/libhttpserver
Description: Prerequisites Put an X between the brackets on this line if you have checked that your issue isn't already filed: https://github.com/search?l=&q=repo:etr/libhttpserver&type=Issues Description C++ from C++11 onwards has the keyword nu...
Open Graph Description: Prerequisites Put an X between the brackets on this line if you have checked that your issue isn't already filed: https://github.com/search?l=&q=repo:etr/libhttpserver&type=Issues Description C...
X Description: Prerequisites Put an X between the brackets on this line if you have checked that your issue isn't already filed: https://github.com/search?l=&q=repo:etr/libhttpserver&type=Issues D...
Opengraph URL: https://github.com/etr/libhttpserver/issues/241
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[BUG] use C++11 keyword nullptr","articleBody":"### Prerequisites\r\n\r\n* [x] Put an X between the brackets on this line if you have checked that your issue isn't already filed: https://github.com/search?l=\u0026q=repo%3Aetr%2Flibhttpserver\u0026type=Issues\r\n\r\n### Description\r\n\r\nC++ from C++11 onwards has the keyword **nullptr** to help compiler and developer communicating intent when using null pointers. Use that instead of confusing fellow developers with unusual variants of null.\r\n\r\n### Steps to Reproduce\r\n\r\n*n.a.*\r\n\r\n**Expected behavior:** Use `nullptr` if null pointer is meant.\r\n\r\n**Actual behavior:** `0x0` is used in huge parts of the codebase.\r\n\r\n**Reproduces how often:** always.\r\n\r\n### Versions\r\n\r\n* OS version: *n.a.*\r\n* libhttpserver version: 0.18.2-22-g263f2bd (current master)\r\n* libmicrohttpd version: *n.a.*\r\n\r\n### Additional Information\r\n\r\nAccording to #227 C++14 is required for libhttpserver already, so using C++11 features should be fine.","author":{"url":"https://github.com/LeSpocky","@type":"Person","name":"LeSpocky"},"datePublished":"2021-11-09T14:14:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/241/libhttpserver/issues/241"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b5b4ae37-da63-4723-943b-ce177ba8805d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E028:2AB90B:1894AA3:20F53BD:6A535B42 |
| html-safe-nonce | 87743735506e4a32f408531d8ffa78a5ba3a327669b86d0695d54b10c64de235 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDI4OjJBQjkwQjoxODk0QUEzOjIwRjUzQkQ6NkE1MzVCNDIiLCJ2aXNpdG9yX2lkIjoiNDMwMTYzMTgxMTQyMTk1MjgzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f4c3f44744bbc0c846d684ca0439237033f4b165e7f327deda6f942b00292df2 |
| hovercard-subject-tag | issue:1048657411 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/etr/libhttpserver/241/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c8866834e065d072feadb4efeac84ba57f0f739850a1754d6215fe9f56d830ce/etr/libhttpserver/issues/241 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c8866834e065d072feadb4efeac84ba57f0f739850a1754d6215fe9f56d830ce/etr/libhttpserver/issues/241 |
| og:image:alt | Prerequisites Put an X between the brackets on this line if you have checked that your issue isn't already filed: https://github.com/search?l=&q=repo:etr/libhttpserver&type=Issues Description C... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | LeSpocky |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/etr/libhttpserver git https://github.com/etr/libhttpserver.git |
| octolytics-dimension-user_id | 1201536 |
| octolytics-dimension-user_login | etr |
| octolytics-dimension-repository_id | 3416891 |
| octolytics-dimension-repository_nwo | etr/libhttpserver |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3416891 |
| octolytics-dimension-repository_network_root_nwo | etr/libhttpserver |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width