<commit_before>//
//  ex9_41.cpp
//  Exercise 9.41
//
//  Created by pezy on 12/4/14.
//
//  @Brief  Write a program that initializes a string from a vector<char>.

#include <iostream>
#include <vector>
#include <string>

using std::vector; using std::cout; using std::endl; using std::string;

int main()
{
    vector<char> vec{ 'p', 'e', 'z', 'y' };
    string str(vec.begin(), vec.end());
    
    cout << str << endl;
    
    return 0;
}<commit_msg>Update ex9_41.cpp<commit_after>//
//  ex9_41.cpp
//  Exercise 9.41
//
//  Created by pezy on 12/4/14.
//
//  @Brief  Write a program that initializes a string from a vector<char>.

#include <iostream>
#include <vector>
#include <string>

using std::vector; 
using std::cout; 
using std::endl; 
using std::string;

int main()
{
    vector<char> v{ 'p', 'e', 'z', 'y' };
    string str(v.cbegin(), v.cend());
    cout << str << endl;

    return 0;
}
{'fraction_non_alphanumeric': 0.18514412416851442, 'fraction_numerical': 0.02993348115299335, 'mean_word_length': 2.943231441048035, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2172302', 'n_tokens_mistral': 361, 'n_tokens_neox': 343, 'n_words': 101}