<commit_before>// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.

#pragma once
#include "rx-includes.hpp"

#if !defined(CPPRX_RX_HPP)
#define CPPRX_RX_HPP

namespace rxcpp
{
    template<class Obj>
    class Binder;

    template<class Obj>
    class Binder<Binder<Obj>>;

namespace detail {
    template<class Obj>
    struct observable_item<Binder<Obj>> {typedef typename rxcpp::observable_item<Obj>::type type;};
}

    template<class T, class Obj>
    class BinderBase
    {
    protected:
        Obj obj;
        template<class U, class V>
        friend V observable(const BinderBase<U, V>& b);

    public:
        typedef T item_type;
        typedef Obj observable_type;<commit_msg>add is_observable for Binder<commit_after>// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information.

#pragma once
#include "rx-includes.hpp"

#if !defined(CPPRX_RX_HPP)
#define CPPRX_RX_HPP

namespace rxcpp
{
    template<class Obj>
    class Binder;

    template<class Obj>
    class Binder<Binder<Obj>>;

namespace detail {
    template<class Obj>
    struct observable_item<Binder<Obj>> {typedef typename rxcpp::observable_item<Obj>::type type;};
}

    template<class Obj>
    struct is_observable < Binder<Obj > > {static const bool value = true; };

    template<class T, class Obj>
    class BinderBase
    {
    protected:
        Obj obj;
        template<class U, class V>
        friend V observable(const BinderBase<U, V>& b);

    public:
        typedef T item_type;
        typedef Obj observable_type;
{'fraction_non_alphanumeric': 0.09172661870503597, 'fraction_numerical': 0.0, 'mean_word_length': 3.4153439153439153, 'pattern_counts': {'":': 0, '<': 28, '<?xml version=': 0, '>': 28, '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': '3478493', 'n_tokens_mistral': 540, 'n_tokens_neox': 515, 'n_words': 158}