<commit_before>// Copyright <NAME> 2013. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#include "test.hpp"
#include <luabind/luabind.hpp>
#include <boost/function.hpp>

#ifndef BOOST_NO_CXX11_HDR_FUNCTIONAL
#  include <functional>
#endif

namespace {

int f(int x, int y)
{
    return x + y;
}

struct X<commit_msg>Fix test_function_object on Ubuntu 12.04 in C++03 mode<commit_after>// Copyright <NAME> 2013. Use, modification and distribution is
// subject to the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#include "test.hpp"
#include <luabind/luabind.hpp>
#include <boost/function.hpp>
#if BOOST_VERSION < 105000 && __cplusplus < 201103L
// Test missing before Boost 1.50, so before then guess based on what the compiler claims.
#  define BOOST_NO_CXX11_HDR_FUNCTIONAL
#endif

#ifndef BOOST_NO_CXX11_HDR_FUNCTIONAL
#  include <functional>
#endif

namespace {

int f(int x, int y)
{
    return x + y;
}

struct X
{'fraction_non_alphanumeric': 0.10623353819139596, 'fraction_numerical': 0.041264266900790166, 'mean_word_length': 4.428571428571429, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1856151', 'n_tokens_mistral': 430, 'n_tokens_neox': 385, 'n_words': 123}