Top "Implicit-conversion" questions

Converting an object, variable or value from one type to another to satisfy a type restriction, without specifically requesting that conversion through language syntax.

Objective-C implicit conversion loses integer precision 'NSUInteger' (aka 'unsigned long') to 'int' warning

I'm working through some exercises and have got a warning that states: Implicit conversion loses integer precision: 'NSUInteger' (aka 'unsigned …

objective-c compiler-warnings implicit-conversion
PHP Convert String into Float/Double

I have list of string (size in bytes), I read those from file. Let say one of the string is 2968789218, …

php string floating-point implicit-conversion
mysql datetime comparison

For example the following query works fine: SELECT * FROM quotes WHERE expires_at <= '2010-10-15 10:00:00'; But this …

sql mysql implicit-conversion explicit-conversion
What is the meaning of "operator bool() const"

For example: operator bool() const { return col != 0; } col is an int. How does operator bool() const work?

c++ operators implicit-conversion conversion-operator
no implicit conversion of nil into String error

I have a ruby script that will create two files by taking and merging values from another file. #Resources require …

ruby implicit-conversion
Difference between implicit conversion and explicit conversion

Possible Duplicate: Implicit VS Explicit Conversion What is the difference between "implicit conversion" and "explicit conversion"? Is the difference different …

java c++ implicit-conversion explicit-conversion
Can we define implicit conversions of enums in c#?

Is it possible to define an implicit conversion of enums in c#? something that could achieve this? public enum MyEnum { …

c# enums implicit-conversion implicit
Concatenate two Dictionaries

Given some Dictionaries Dictionary<string, string> GroupNames = new Dictionary<string, string>(); Dictionary<string, string> …

c# implicit-conversion
Static implicit operator

I recently found this code: public static implicit operator XElement(XmlBase xmlBase) { return xmlBase.Xml; } What does static implicit operator …

c# operators implicit-conversion
Where does Scala look for implicits?

An implicit question to newcomers to Scala seems to be: where does the compiler look for implicits? I mean implicit …

scala implicit-conversion implicits