Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: New unicode / string / text handling in SFML 2  (Read 19202 times)

0 Members and 1 Guest are viewing this topic.

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6287
  • Thor Developer
    • View Profile
    • Bromeon
New unicode / string / text handling in SFML 2
« Reply #30 on: September 15, 2010, 10:33:16 am »
Quote from: "Laurent"
Implicit cast operators alone are never enough.
I rather meant the conversion functions would be enough. :P

I just think, the need to provide explicit functions in addition to the conversion operators is a hint, that the conversion can be ambiguous and that the operators are not appropriate. But okay, let's make an exception for the often used string conversions. I'll probably benefit from them, too :)

(By the way, you can also call them explicitly. Very beautiful ;))
Code: [Select]
myString.operator std::string()
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

 

anything