Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a224f94d9eca19ef

Jump to content

Talk:Static cast

Page contents not supported in other languages.
Add topic
From Wikipedia, the free encyclopedia
Latest comment: 3 years ago by PrimeBOT in topic India Education Program course assignment

duration_cast

[edit]

Uhh, this doesn't fit with the theme here. I thought we were talking about c++ operators, not function(templates).  Preceding unsigned comment added by Geof23 (talkcontribs) 04:29, 23 January 2018 (UTC)Reply

Revert

[edit]

static_cast was an individual article, then without discussion and reasons given was changed to redirect to the type conversion article. I reverted the static_cast article back to its content before redirection. --Abdull (talk) 21:40, 1 October 2010 (UTC)Reply

[edit]

Prior content in this article duplicated one or more previously published sources. Copied or closely paraphrased material has been rewritten or removed and must not be restored, unless it is duly released under a compatible license. (For more information, please see "using copyrighted works from others" if you are not the copyright holder of this material, or "donating copyrighted materials" if you are.) For legal reasons, we cannot accept copyrighted text or images borrowed from other web sites or published material; such additions will be deleted. Contributors may use copyrighted publications as a source of information, but not as a source of sentences or phrases. Accordingly, the material may be rewritten, but only if it does not infringe on the copyright of the original or plagiarize from that source. Please see our guideline on non-free text for how to properly implement limited quotations of copyrighted text. Wikipedia takes copyright violations very seriously, and persistent violators will be blocked from editing. While we appreciate contributions, we must require all contributors to understand and comply with these policies. Thank you. Osiris (talk) 13:46, 23 June 2012 (UTC)Reply

reinterpret_cast

[edit]

What is the difference between static_cast and reinterpret_cast ? The redirect to type punning is not helpful as that article does not explain the construct. -- Juergen 62.143.196.71 (talk) 23:02, 10 November 2015 (UTC)Reply

(I know this is an old question.) In practice, static_cast performs pointer adjustments whereas reinterpret_cast doesn't. Also, the former only allows conversions between related types (when applied to pointers or references) on the one hand, but can be used to convert between arithmetic types and types with user-defined conversions on the other. reinterpret_cast<U*>(p) is pretty much synonymous to static_cast<U*>(static_cast<void*>(p)). This can be dangerous and should only be used in low level code such as allocators. Aragorn2 (talk) 12:34, 29 July 2020 (UTC)Reply

India Education Program course assignment

[edit]

This article was the subject of an educational assignment supported by Wikipedia Ambassadors through the India Education Program.

The above message was substituted from {{IEP assignment}} by PrimeBOT (talk) on 20:12, 1 February 2023 (UTC)Reply