Faker C++
Loading...
Searching...
No Matches
faker::weather Namespace Reference

Functions

FAKER_CXX_EXPORT std::string_view weatherDescription (Locale locale=Locale::en_US)
 Generated a random weather description.
 

Function Documentation

◆ weatherDescription()

FAKER_CXX_EXPORT std::string_view faker::weather::weatherDescription ( Locale locale = Locale::en_US)

Generated a random weather description.

Parameters
localeThe locale. Defaults to `Locale::en_US`.
Returns
A random weather description.
faker::weather::weatherDescription(Locale::en_GB); // "Sunny"
FAKER_CXX_EXPORT std::string_view weatherDescription(Locale locale=Locale::en_US)
Generated a random weather description.