About 2,360,000 results
Open links in new tab
  1. Regular cast vs. static_cast vs. dynamic_cast - Stack Overflow

    Aug 26, 2008 · Static cast is also used to cast pointers to related types, for example casting void* to the appropriate type. dynamic_cast Dynamic cast is used to convert pointers and references …

  2. c# - Direct casting vs 'as' operator? - Stack Overflow

    Sep 25, 2008 · Direct casting vs 'as' operator? Asked 17 years, 1 month ago Modified 6 years, 5 months ago Viewed 238k times

  3. c++ - When should static_cast, dynamic_cast, const_cast, and ...

    The C-style casts can do virtually all types of casting from normally safe casts done by static_cast<> () and dynamic_cast<> () to potentially dangerous casts like const_cast<> (), …

  4. casting - Explanation of ClassCastException in Java - Stack Overflow

    May 25, 2009 · 6 Do you understand the concept of casting? Casting is the process of type conversion, which is in Java very common because its a statically typed language. Some …

  5. casting - PHP Cast to my class - Stack Overflow

    Casting to object is unsafe. Why do you want to do so? Not sure if it's relevant, you can use instanceof to check the class of the object. Raptor – Raptor 2017-03-06 10:44:45 +00:00 …

  6. Casting a number to a string in TypeScript - Stack Overflow

    Casting a number to a string in TypeScript Asked 10 years, 1 month ago Modified 1 year, 10 months ago Viewed 643k times

  7. c# - 'casting' with reflection - Stack Overflow

    Sep 9, 2009 · 'casting' with reflection Asked 16 years, 1 month ago Modified 4 years, 6 months ago Viewed 65k times

  8. Safe casting in python - Stack Overflow

    Casting has sense only for a variable (= chunk of memory whose content can change) There are no variables whose content can change, in Python. There are only objects, that aren't …

  9. c++ - Proper way of casting pointer types - Stack Overflow

    Proper way of casting pointer types Asked 12 years, 7 months ago Modified 12 months ago Viewed 128k times

  10. Casting in PowerShell. Weird syntax - Stack Overflow

    Jul 27, 2012 · Casting is the process of converting one object type into another. What this means for casting is that, like in math, you can add in unnecessary brackets to help you clarify for …