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

Author Topic: sf::Text constructor  (Read 2067 times)

0 Members and 1 Guest are viewing this topic.


  • Jr. Member
  • **
  • Posts: 97
    • View Profile
    • Email
sf::Text constructor
« on: September 04, 2012, 09:08:34 am »
I was just wondering whether it was possible to get a sf::Text constructor which does not require a string upon creation, or could you perhaps have the sf::string& string, changed to a default empty parameter(so that it would be the programmers choice if he want's to initialize a sf::text object with a string).


  • SFML Team
  • Hero Member
  • *****
  • Posts: 10398
    • View Profile
    • development blog
    • Email
Re: sf::Text constructor
« Reply #1 on: September 04, 2012, 09:17:34 am »
There is such a constructor, mainly the default constructor. ;)
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
Dev Blog: https://dev.my-gate.net/