FastLED 3.10.6
Loading...
Searching...
No Matches

◆ parse_brace()

bool fl::printf_detail::parse_brace ( sstream & stream,
const char *& format )
inline

Definition at line 821 of file stdio.h.

821 {
822 if (*format == '{') {
823 if (format[1] == '}') {
824 format += 2;
825 return true;
826 }
827 if (format[1] == '{') {
828 stream << "{";
829 format += 2;
830 return false;
831 }
832 stream << "{";
833 ++format;
834 return false;
835 }
836
837 // *format == '}'
838 if (format[1] == '}') {
839 stream << "}";
840 format += 2;
841 return false;
842 }
843 stream << "}";
844 ++format;
845 return false;
846}
fl::string format(const char *fmt)
Format with no arguments.
Definition format.h:439

References fl::FL_NO_EXCEPT, and fl::format().

Referenced by format_impl(), and format_impl().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: