Ticket #1872: Spirit24512.patch

File Spirit24512.patch, 12.6 KB (added by Richard Webb <richard.webb@…>, 14 years ago)
  • home/karma/detail/output_iterator.hpp

     
    312312        }
    313313
    314314        OutputIterator& sink;
     315
     316    private:
     317        enable_counting& operator=(const enable_counting&);
    315318    };
    316319   
    317320    ///////////////////////////////////////////////////////////////////////////
     
    338341        }
    339342       
    340343        OutputIterator& sink;
     344
     345        private:
     346        enable_buffering& operator=(const enable_buffering&);
    341347    };
    342348   
    343349}}}}
  • home/karma/nonterminal/grammar.hpp

     
    6262            }
    6363        }
    6464
     65        grammar& operator=(const grammar&);
     66
    6567        friend struct nonterminal_director;
    6668        Definition const& definition;
    6769        start_type const& start;
  • home/karma/operator/detail/alternative.hpp

     
    111111        Context& ctx;
    112112        Delimiter const& delim;
    113113        Parameter const& param;
     114
     115    private:
     116        alternative_generate_functor& operator=(const alternative_generate_functor&);
    114117    };
    115118
    116119}}}}
  • home/karma/operator/detail/sequence.hpp

     
    4343        OutputIterator& sink;
    4444        Context& ctx;
    4545        Delimiter const& delim;
     46
     47    private:
     48        sequence_generate& operator=(const sequence_generate&);
    4649    };
    4750   
    4851}}}}  // namespace boost::spirit::karma::detail
  • home/karma/stream/detail/format_manip.hpp

     
    2828        Expr const& expr;
    2929        Parameter const& param;
    3030        Delimiter const& delim;
     31
     32    private:
     33        format_manip& operator=(const format_manip&);
    3134    };
    3235
    3336    ///////////////////////////////////////////////////////////////////////////
  • home/lex/lexer/detail/sequence.hpp

     
    3131
    3232        LexerDef& def;
    3333        String const& state;
     34
     35    private:
     36        sequence_collect& operator=(const sequence_collect&);
    3437    };
    3538   
    3639}}}}  // namespace boost::spirit::lex::detail
  • home/lex/lexer/lexer.hpp

     
    161161                }
    162162
    163163                lexer_def_& def;
     164
     165            private:
     166                adder& operator=(const adder&);
    164167            };
    165168            friend struct adder;
    166169           
     
    180183                }
    181184
    182185                lexer_def_& def;
     186
     187            private:
     188                pattern_adder& operator=(const pattern_adder&);
    183189            };
    184190            friend struct pattern_adder;
    185191           
     
    235241            pattern_adder add_pattern;
    236242           
    237243        private:
     244            lexer_def_& operator=(const lexer_def_&);
     245
    238246            LexerDef& def;
    239247            string_type state;
    240248        };
     
    342350        Definition  const& get_definition() const { return token_def; }
    343351       
    344352    private:
     353        lexer& operator=(const lexer&);
     354
    345355        Definition& token_def;
    346356    };
    347357
  • home/lex/lexer/lexertl/lexertl_functor.hpp

     
    8080            boost::lexer::basic_rules<char_type> const& rules;
    8181            Iterator& first;
    8282            Iterator last;
     83
     84        private:
     85            Data& operator=(const Data&);
    8386        };
    8487       
    8588        ///////////////////////////////////////////////////////////////////////
     
    237240           
    238241            T& dst;
    239242            T const& src;
     243
     244        private:
     245            assign_on_exit& operator=(const assign_on_exit&);
    240246        };
    241247       
    242248    public:
  • home/lex/lexer/lexertl/lexertl_lexer.hpp

     
    2424#include <boost/spirit/home/support/detail/lexer/debug.hpp>
    2525#endif
    2626
     27#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
     28# pragma warning(push) //warnings from iterator_data_type
     29# pragma warning(disable: 4510)  // default constructor could not be generated
     30# pragma warning(disable: 4512)  // assignment operator could not be generated
     31#endif
     32
    2733namespace boost { namespace spirit { namespace lex
    2834{
    2935    ///////////////////////////////////////////////////////////////////////////
     
    367373   
    368374}}}
    369375
     376#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
     377# pragma warning(pop)
    370378#endif
     379
     380#endif
  • home/lex/lexer/token_set.hpp

     
    176176            }
    177177
    178178            token_set& def;
     179
     180        private:
     181            adder& operator=(const adder&);
    179182        };
    180183        friend struct adder;
    181184
     
    195198            }
    196199
    197200            token_set& def;
     201
     202        private:
     203            pattern_adder& operator=(const pattern_adder&);
    198204        };
    199205        friend struct pattern_adder;
    200206           
  • home/lex/qi/state/state_switcher.hpp

     
    105105
    106106            Iterator& it;
    107107            std::size_t state;
     108
     109        private:
     110            reset_state_on_exit& operator=(const reset_state_on_exit&);
    108111        };
    109112    }
    110113
  • home/phoenix/core/reference.hpp

     
    3939        }
    4040
    4141        T& ref;
     42
     43    private:
     44        reference& operator=(const reference&);
    4245    };
    4346
    4447    template <typename T>
  • home/qi/debug/detail/debug_handler.hpp

     
    3737        }
    3838
    3939        int& level;
     40
     41    private:
     42        trace_level& operator=(const trace_level&);
    4043    };
    4144
    4245    ///////////////////////////////////////////////////////////////////////////
  • home/qi/detail/alternative_function.hpp

     
    4949        Context& context;
    5050        Skipper const& skipper;
    5151        Attribute& attr;
     52
     53    private:
     54        alternative_function& operator=(const alternative_function&);
    5255    };
    5356
    5457    template <typename Iterator, typename Context, typename Skipper>
     
    7477        Iterator const& last;
    7578        Context& context;
    7679        Skipper const& skipper;
     80
     81    private:
     82        alternative_function& operator=(const alternative_function&);
    7783    };
    7884
    7985}}}}
  • home/qi/detail/expect_function.hpp

     
    7474        Context& context;
    7575        Skipper const& skipper;
    7676        bool is_first;
     77
     78    private:
     79        expect_function& operator=(const expect_function&);
    7780    };
    7881}}}}
    7982
  • home/qi/detail/fail_function.hpp

     
    4444        Iterator const& last;
    4545        Context& context;
    4646        Skipper const& skipper;
     47
     48    private:
     49        fail_function& operator=(const fail_function&);
    4750    };
    4851}}}}
    4952
  • home/qi/detail/pass_function.hpp

     
    5959        Iterator const& last;
    6060        Context& context;
    6161        Skipper const& skipper;
     62
     63    private:
     64        pass_function& operator=(const pass_function&);
    6265    };
    6366}}}}
    6467
  • home/qi/detail/permute_function.hpp

     
    8080        Context& context;
    8181        Skipper const& skipper;
    8282        bool* taken;
     83
     84    private:
     85        permute_function& operator=(const permute_function&);
    8386    };
    8487}}}}
    8588
  • home/qi/nonterminal/detail/error_handler.hpp

     
    1212#include <boost/spirit/home/qi/operator/expect.hpp>
    1313#include <boost/fusion/include/vector.hpp>
    1414
     15#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400)
     16# pragma warning(push)
     17# pragma warning(disable: 4127)   // conditional expression is constant
     18#endif
     19
    1520namespace boost { namespace spirit { namespace qi { namespace detail
    1621{
    1722    template <
     
    97102    };
    98103}}}}
    99104
     105#if BOOST_WORKAROUND(BOOST_MSVC, >= 1400) 
     106# pragma warning(pop) 
     107#endif
     108
    100109#endif
  • home/qi/nonterminal/grammar.hpp

     
    6868            }
    6969        }
    7070
     71        grammar& operator=(const grammar&);
     72
    7173        friend struct nonterminal_director;
    7274        Definition const& definition;
    7375        start_type const& start;
  • home/qi/stream/detail/match_manip.hpp

     
    3030        Expr const& expr;
    3131        Attribute& attr;
    3232        Skipper const& skipper;
     33
     34    private:
     35        match_manip& operator=(const match_manip&);
    3336    };
    3437
    3538    ///////////////////////////////////////////////////////////////////////////
  • home/qi/string/symbols.hpp

     
    202202            }
    203203
    204204            symbols& sym;
     205
     206        private:
     207            adder& operator=(const adder&);
    205208        };
    206209
    207210        struct remover
     
    243246            }
    244247
    245248            symbols& sym;
     249
     250        private:
     251            remover& operator=(const remover&);
    246252        };
    247253
    248254        adder add;
  • home/support/detail/what_function.hpp

     
    3131
    3232        std::string& str;
    3333        mutable bool first;
     34
     35        private:
     36        what_function& operator=(const what_function&);
    3437    };
    3538}}}
    3639
  • home/support/nonterminal/detail/expand_arg.hpp

     
    7070        }
    7171
    7272        Context& context;
     73
     74    private:
     75        expand_arg& operator=(const expand_arg&);
    7376    };
    7477   
    7578}}}