
    float current_length = braces_length;

    for(typename std::vector<T>::const_iterator element_it = array.cbegin(); element_it != array.cend(); element_it++) {
        const std::string & s_element = stringify_func(*element_it);

        float value_length = XPLMMeasureString(xplmFont_Proportional, s_element.c_str(), s_element.size());
        