In file included from /opt/local/include/gcc45/c++/bits/stl_algobase.h:67:0, from /opt/local/include/gcc45/c++/bits/char_traits.h:41, from /opt/local/include/gcc45/c++/ios:41, from /opt/local/include/gcc45/c++/ostream:40, from /opt/local/include/gcc45/c++/iostream:40, from symfeatures.h:25, from symfeatures.cc:18: /opt/local/include/gcc45/c++/bits/stl_iterator_base_types.h: In instantiation of 'std::iterator_traits': ../modular-boost/boost/iterator/iterator_traits.hpp:28:74: instantiated from 'boost::iterators::iterator_reference' ../modular-boost/boost/iterator/zip_iterator.hpp:90:61: instantiated from 'boost::iterators::detail::dereference_iterator::result' ../modular-boost/boost/utility/result_of.hpp:190:1: instantiated from 'boost::detail::result_of_nested_result' ../modular-boost/boost/utility/result_of.hpp:197:1: instantiated from 'boost::detail::tr1_result_of_impl' ../modular-boost/boost/utility/detail/result_of_iterate.hpp:37:65: instantiated from 'boost::tr1_result_of' ../modular-boost/boost/utility/detail/result_of_iterate.hpp:160:46: [ skipping 10 instantiation contexts ] ../modular-boost/boost/iterator/zip_iterator.hpp:214:44: instantiated from 'static reference boost::iterators::detail::converter::call(Seq) [with Seq = boost::fusion::transform_view*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, reference = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/iterator/zip_iterator.hpp:289:42: instantiated from 'typename boost::iterators::detail::zip_iterator_base::type::reference boost::iterators::zip_iterator::dereference() const [with IteratorTuple = boost::tuples::tuple*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, typename boost::iterators::detail::zip_iterator_base::type::reference = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/iterator/iterator_facade.hpp:549:32: instantiated from 'static typename Facade::reference boost::iterators::iterator_core_access::dereference(const Facade&) [with Facade = boost::iterators::zip_iterator*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >, typename Facade::reference = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/iterator/iterator_facade.hpp:655:69: instantiated from 'reference boost::iterators::detail::iterator_facade_base::operator*() const [with Derived = boost::iterators::zip_iterator*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >, Value = boost::tuples::cons&, boost::tuples::null_type> >, CategoryOrTraversal = boost::iterators::random_access_traversal_tag, Reference = boost::tuples::cons&, boost::tuples::null_type> >, Difference = long int, reference = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/foreach.hpp:771:58: instantiated from 'typename boost::foreach_detail_::foreach_reference::type boost::foreach_detail_::deref(const boost::foreach_detail_::auto_any_base&, boost::foreach_detail_::type2type*) [with T = std::pair*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >, boost::iterators::zip_iterator*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> > >, C = mpl_::bool_, typename boost::foreach_detail_::foreach_reference::type = boost::tuples::cons&, boost::tuples::null_type> >, const boost::foreach_detail_::auto_any_base& = const boost::foreach_detail_::auto_any_base&]' rnnlib4seshat/SoftmaxLayer.hpp:81:3: instantiated from here /opt/local/include/gcc45/c++/bits/stl_iterator_base_types.h:139:53: error: 'double* const' is not a class, struct, or union type /opt/local/include/gcc45/c++/bits/stl_iterator_base_types.h:140:53: error: 'double* const' is not a class, struct, or union type /opt/local/include/gcc45/c++/bits/stl_iterator_base_types.h:141:53: error: 'double* const' is not a class, struct, or union type /opt/local/include/gcc45/c++/bits/stl_iterator_base_types.h:142:53: error: 'double* const' is not a class, struct, or union type /opt/local/include/gcc45/c++/bits/stl_iterator_base_types.h:143:53: error: 'double* const' is not a class, struct, or union type In file included from ../modular-boost/boost/fusion/adapted/boost_tuple/detail/convert_impl.hpp:11:0, from ../modular-boost/boost/fusion/adapted/boost_tuple.hpp:20, from ../modular-boost/boost/iterator/zip_iterator.hpp:21, from rnnlib4seshat/Helpers.hpp:50, from rnnlib4seshat/DataSequence.hpp:48, from symrec.h:30, from production.h:28, from hypothesis.h:30, from cellcyk.h:24, from tablecyk.h:26, from sample.h:27, from symfeatures.h:32, from symfeatures.cc:18: ../modular-boost/boost/fusion/adapted/boost_tuple/detail/build_cons.hpp: In static member function 'static boost::fusion::detail::build_tuple_cons::type boost::fusion::detail::build_tuple_cons::call(const First&, const Last&) [with First = boost::fusion::transform_view_iterator*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >, boost::iterators::detail::dereference_iterator>, Last = boost::fusion::transform_view_iterator, boost::iterators::detail::dereference_iterator>, boost::fusion::detail::build_tuple_cons::type = boost::tuples::cons&, boost::tuples::null_type> >, typename boost::fusion::detail::build_tuple_cons::type, Last>::type = boost::tuples::cons&, boost::tuples::null_type>, typename boost::fusion::result_of::value_of::type = double&]': ../modular-boost/boost/fusion/adapted/boost_tuple/detail/convert_impl.hpp:43:87: instantiated from 'static boost::fusion::extension::convert_impl::apply::type boost::fusion::extension::convert_impl::apply::call(Sequence&) [with Sequence = boost::fusion::transform_view*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, boost::fusion::extension::convert_impl::apply::type = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/fusion/sequence/convert.hpp:39:29: instantiated from 'typename boost::fusion::result_of::convert::type boost::fusion::convert(Sequence&) [with Tag = boost::fusion::boost_tuple_tag, Sequence = boost::fusion::transform_view*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, typename boost::fusion::result_of::convert::type = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/iterator/zip_iterator.hpp:214:44: instantiated from 'static reference boost::iterators::detail::converter::call(Seq) [with Seq = boost::fusion::transform_view*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, reference = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/iterator/zip_iterator.hpp:289:42: instantiated from 'typename boost::iterators::detail::zip_iterator_base::type::reference boost::iterators::zip_iterator::dereference() const [with IteratorTuple = boost::tuples::tuple*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, typename boost::iterators::detail::zip_iterator_base::type::reference = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/iterator/iterator_facade.hpp:549:32: instantiated from 'static typename Facade::reference boost::iterators::iterator_core_access::dereference(const Facade&) [with Facade = boost::iterators::zip_iterator*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >, typename Facade::reference = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/iterator/iterator_facade.hpp:655:69: instantiated from 'reference boost::iterators::detail::iterator_facade_base::operator*() const [with Derived = boost::iterators::zip_iterator*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >, Value = boost::tuples::cons&, boost::tuples::null_type> >, CategoryOrTraversal = boost::iterators::random_access_traversal_tag, Reference = boost::tuples::cons&, boost::tuples::null_type> >, Difference = long int, reference = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/foreach.hpp:771:58: instantiated from 'typename boost::foreach_detail_::foreach_reference::type boost::foreach_detail_::deref(const boost::foreach_detail_::auto_any_base&, boost::foreach_detail_::type2type*) [with T = std::pair*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >, boost::iterators::zip_iterator*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> > >, C = mpl_::bool_, typename boost::foreach_detail_::foreach_reference::type = boost::tuples::cons&, boost::tuples::null_type> >, const boost::foreach_detail_::auto_any_base& = const boost::foreach_detail_::auto_any_base&]' rnnlib4seshat/SoftmaxLayer.hpp:81:3: instantiated from here ../modular-boost/boost/fusion/adapted/boost_tuple/detail/build_cons.hpp:53:60: error: no match for 'operator*' in '*f' ../modular-boost/boost/fusion/adapted/boost_tuple/detail/build_cons.hpp: In static member function 'static boost::fusion::detail::build_tuple_cons::type boost::fusion::detail::build_tuple_cons::call(const First&, const Last&) [with First = boost::fusion::transform_view_iterator >, boost::iterators::detail::dereference_iterator>, Last = boost::fusion::transform_view_iterator, boost::iterators::detail::dereference_iterator>, boost::fusion::detail::build_tuple_cons::type = boost::tuples::cons > >, typename boost::fusion::detail::build_tuple_cons::type, Last>::type = boost::tuples::cons >, typename boost::fusion::result_of::value_of::type = double&]': ../modular-boost/boost/fusion/adapted/boost_tuple/detail/convert_impl.hpp:43:87: instantiated from 'static boost::fusion::extension::convert_impl::apply::type boost::fusion::extension::convert_impl::apply::call(Sequence&) [with Sequence = boost::fusion::transform_view, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, boost::fusion::extension::convert_impl::apply::type = boost::tuples::cons > >]' ../modular-boost/boost/fusion/sequence/convert.hpp:39:29: instantiated from 'typename boost::fusion::result_of::convert::type boost::fusion::convert(Sequence&) [with Tag = boost::fusion::boost_tuple_tag, Sequence = boost::fusion::transform_view, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, typename boost::fusion::result_of::convert::type = boost::tuples::cons > >]' ../modular-boost/boost/iterator/zip_iterator.hpp:214:44: instantiated from 'static reference boost::iterators::detail::converter::call(Seq) [with Seq = boost::fusion::transform_view, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, reference = boost::tuples::cons > >]' ../modular-boost/boost/iterator/zip_iterator.hpp:289:42: instantiated from 'typename boost::iterators::detail::zip_iterator_base::type::reference boost::iterators::zip_iterator::dereference() const [with IteratorTuple = boost::tuples::tuple, typename boost::iterators::detail::zip_iterator_base::type::reference = boost::tuples::cons > >]' ../modular-boost/boost/iterator/iterator_facade.hpp:549:32: instantiated from 'static typename Facade::reference boost::iterators::iterator_core_access::dereference(const Facade&) [with Facade = boost::iterators::zip_iterator >, typename Facade::reference = boost::tuples::cons > >]' ../modular-boost/boost/iterator/iterator_facade.hpp:655:69: instantiated from 'reference boost::iterators::detail::iterator_facade_base::operator*() const [with Derived = boost::iterators::zip_iterator >, Value = boost::tuples::cons > >, CategoryOrTraversal = boost::iterators::random_access_traversal_tag, Reference = boost::tuples::cons > >, Difference = long int, reference = boost::tuples::cons > >]' ../modular-boost/boost/foreach.hpp:771:58: instantiated from 'typename boost::foreach_detail_::foreach_reference::type boost::foreach_detail_::deref(const boost::foreach_detail_::auto_any_base&, boost::foreach_detail_::type2type*) [with T = std::pair >, boost::iterators::zip_iterator > >, C = mpl_::bool_, typename boost::foreach_detail_::foreach_reference::type = boost::tuples::cons > >, const boost::foreach_detail_::auto_any_base& = const boost::foreach_detail_::auto_any_base&]' rnnlib4seshat/SoftmaxLayer.hpp:100:3: instantiated from here ../modular-boost/boost/fusion/adapted/boost_tuple/detail/build_cons.hpp:53:60: error: no match for 'operator*' in '*f' ../modular-boost/boost/fusion/adapted/boost_tuple/detail/build_cons.hpp: In static member function 'static boost::fusion::detail::build_tuple_cons::type boost::fusion::detail::build_tuple_cons::call(const First&, const Last&) [with First = boost::fusion::transform_view_iterator*, std::vector, std::allocator > > >, Log*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >, boost::iterators::detail::dereference_iterator>, Last = boost::fusion::transform_view_iterator, boost::iterators::detail::dereference_iterator>, boost::fusion::detail::build_tuple_cons::type = boost::tuples::cons&, boost::tuples::cons&, boost::tuples::null_type> > >, typename boost::fusion::detail::build_tuple_cons::type, Last>::type = boost::tuples::cons&, boost::tuples::cons&, boost::tuples::null_type> >, typename boost::fusion::result_of::value_of::type = double&]': ../modular-boost/boost/fusion/adapted/boost_tuple/detail/convert_impl.hpp:43:87: instantiated from 'static boost::fusion::extension::convert_impl::apply::type boost::fusion::extension::convert_impl::apply::call(Sequence&) [with Sequence = boost::fusion::transform_view*, std::vector, std::allocator > > >, Log*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, boost::fusion::extension::convert_impl::apply::type = boost::tuples::cons&, boost::tuples::cons&, boost::tuples::null_type> > >]' ../modular-boost/boost/fusion/sequence/convert.hpp:39:29: instantiated from 'typename boost::fusion::result_of::convert::type boost::fusion::convert(Sequence&) [with Tag = boost::fusion::boost_tuple_tag, Sequence = boost::fusion::transform_view*, std::vector, std::allocator > > >, Log*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, typename boost::fusion::result_of::convert::type = boost::tuples::cons&, boost::tuples::cons&, boost::tuples::null_type> > >]' ../modular-boost/boost/iterator/zip_iterator.hpp:214:44: instantiated from 'static reference boost::iterators::detail::converter::call(Seq) [with Seq = boost::fusion::transform_view*, std::vector, std::allocator > > >, Log*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, reference = boost::tuples::cons&, boost::tuples::cons&, boost::tuples::null_type> > >]' ../modular-boost/boost/iterator/zip_iterator.hpp:289:42: instantiated from 'typename boost::iterators::detail::zip_iterator_base::type::reference boost::iterators::zip_iterator::dereference() const [with IteratorTuple = boost::tuples::tuple*, std::vector, std::allocator > > >, Log*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, typename boost::iterators::detail::zip_iterator_base::type::reference = boost::tuples::cons&, boost::tuples::cons&, boost::tuples::null_type> > >]' ../modular-boost/boost/iterator/iterator_facade.hpp:549:32: instantiated from 'static typename Facade::reference boost::iterators::iterator_core_access::dereference(const Facade&) [with Facade = boost::iterators::zip_iterator*, std::vector, std::allocator > > >, Log*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >, typename Facade::reference = boost::tuples::cons&, boost::tuples::cons&, boost::tuples::null_type> > >]' ../modular-boost/boost/iterator/iterator_facade.hpp:655:69: instantiated from 'reference boost::iterators::detail::iterator_facade_base::operator*() const [with Derived = boost::iterators::zip_iterator*, std::vector, std::allocator > > >, Log*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >, Value = boost::tuples::cons&, boost::tuples::cons&, boost::tuples::null_type> > >, CategoryOrTraversal = boost::iterators::random_access_traversal_tag, Reference = boost::tuples::cons&, boost::tuples::cons&, boost::tuples::null_type> > >, Difference = long int, reference = boost::tuples::cons&, boost::tuples::cons&, boost::tuples::null_type> > >]' ../modular-boost/boost/foreach.hpp:771:58: instantiated from 'typename boost::foreach_detail_::foreach_reference::type boost::foreach_detail_::deref(const boost::foreach_detail_::auto_any_base&, boost::foreach_detail_::type2type*) [with T = std::pair*, std::vector, std::allocator > > >, Log*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >, boost::iterators::zip_iterator*, std::vector, std::allocator > > >, Log*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> > >, C = mpl_::bool_, typename boost::foreach_detail_::foreach_reference::type = boost::tuples::cons&, boost::tuples::cons&, boost::tuples::null_type> > >, const boost::foreach_detail_::auto_any_base& = const boost::foreach_detail_::auto_any_base&]' rnnlib4seshat/TranscriptionLayer.hpp:248:4: instantiated from here ../modular-boost/boost/fusion/adapted/boost_tuple/detail/build_cons.hpp:53:60: error: no match for 'operator*' in '*f' In file included from /opt/local/include/gcc45/c++/bits/stl_algobase.h:67:0, from /opt/local/include/gcc45/c++/bits/char_traits.h:41, from /opt/local/include/gcc45/c++/ios:41, from /opt/local/include/gcc45/c++/ostream:40, from /opt/local/include/gcc45/c++/iostream:40, from symfeatures.h:25, from symfeatures.cc:18: /opt/local/include/gcc45/c++/bits/stl_iterator_base_types.h: At global scope: /opt/local/include/gcc45/c++/bits/stl_iterator_base_types.h: In instantiation of 'std::iterator_traits* const>': ../modular-boost/boost/iterator/iterator_traits.hpp:28:74: instantiated from 'boost::iterators::iterator_reference* const>' ../modular-boost/boost/iterator/zip_iterator.hpp:90:61: instantiated from 'boost::iterators::detail::dereference_iterator::result* const&)>' ../modular-boost/boost/utility/result_of.hpp:190:1: instantiated from 'boost::detail::result_of_nested_result* const&)>' ../modular-boost/boost/utility/result_of.hpp:197:1: instantiated from 'boost::detail::tr1_result_of_impl* const&), false>' ../modular-boost/boost/utility/detail/result_of_iterate.hpp:37:65: instantiated from 'boost::tr1_result_of* const&)>' ../modular-boost/boost/utility/detail/result_of_iterate.hpp:160:46: [ skipping 11 instantiation contexts ] ../modular-boost/boost/iterator/zip_iterator.hpp:214:44: instantiated from 'static reference boost::iterators::detail::converter::call(Seq) [with Seq = boost::fusion::transform_view*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, reference = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/iterator/zip_iterator.hpp:289:42: instantiated from 'typename boost::iterators::detail::zip_iterator_base::type::reference boost::iterators::zip_iterator::dereference() const [with IteratorTuple = boost::tuples::tuple*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, typename boost::iterators::detail::zip_iterator_base::type::reference = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/iterator/iterator_facade.hpp:549:32: instantiated from 'static typename Facade::reference boost::iterators::iterator_core_access::dereference(const Facade&) [with Facade = boost::iterators::zip_iterator*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >, typename Facade::reference = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/iterator/iterator_facade.hpp:655:69: instantiated from 'reference boost::iterators::detail::iterator_facade_base::operator*() const [with Derived = boost::iterators::zip_iterator*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >, Value = boost::tuples::cons&, boost::tuples::null_type> >, CategoryOrTraversal = boost::iterators::random_access_traversal_tag, Reference = boost::tuples::cons&, boost::tuples::null_type> >, Difference = long int, reference = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/foreach.hpp:771:58: instantiated from 'typename boost::foreach_detail_::foreach_reference::type boost::foreach_detail_::deref(const boost::foreach_detail_::auto_any_base&, boost::foreach_detail_::type2type*) [with T = std::pair*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >, boost::iterators::zip_iterator*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> > >, C = mpl_::bool_, typename boost::foreach_detail_::foreach_reference::type = boost::tuples::cons&, boost::tuples::null_type> >, const boost::foreach_detail_::auto_any_base& = const boost::foreach_detail_::auto_any_base&]' rnnlib4seshat/SoftmaxLayer.hpp:81:3: instantiated from here /opt/local/include/gcc45/c++/bits/stl_iterator_base_types.h:139:53: error: 'Log* const' is not a class, struct, or union type /opt/local/include/gcc45/c++/bits/stl_iterator_base_types.h:140:53: error: 'Log* const' is not a class, struct, or union type /opt/local/include/gcc45/c++/bits/stl_iterator_base_types.h:141:53: error: 'Log* const' is not a class, struct, or union type /opt/local/include/gcc45/c++/bits/stl_iterator_base_types.h:142:53: error: 'Log* const' is not a class, struct, or union type /opt/local/include/gcc45/c++/bits/stl_iterator_base_types.h:143:53: error: 'Log* const' is not a class, struct, or union type In file included from ../modular-boost/boost/fusion/adapted/boost_tuple/detail/convert_impl.hpp:11:0, from ../modular-boost/boost/fusion/adapted/boost_tuple.hpp:20, from ../modular-boost/boost/iterator/zip_iterator.hpp:21, from rnnlib4seshat/Helpers.hpp:50, from rnnlib4seshat/DataSequence.hpp:48, from symrec.h:30, from production.h:28, from hypothesis.h:30, from cellcyk.h:24, from tablecyk.h:26, from sample.h:27, from symfeatures.h:32, from symfeatures.cc:18: ../modular-boost/boost/fusion/adapted/boost_tuple/detail/build_cons.hpp: In static member function 'static boost::fusion::detail::build_tuple_cons::type boost::fusion::detail::build_tuple_cons::call(const First&, const Last&) [with First = boost::fusion::transform_view_iterator*, boost::tuples::null_type> >, boost::iterators::detail::dereference_iterator>, Last = boost::fusion::transform_view_iterator, boost::iterators::detail::dereference_iterator>, boost::fusion::detail::build_tuple_cons::type = boost::tuples::cons&, boost::tuples::null_type>, typename boost::fusion::detail::build_tuple_cons::type, Last>::type = boost::tuples::null_type, typename boost::fusion::result_of::value_of::type = Log&]': ../modular-boost/boost/fusion/adapted/boost_tuple/detail/build_cons.hpp:54:75: instantiated from 'static boost::fusion::detail::build_tuple_cons::type boost::fusion::detail::build_tuple_cons::call(const First&, const Last&) [with First = boost::fusion::transform_view_iterator*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >, boost::iterators::detail::dereference_iterator>, Last = boost::fusion::transform_view_iterator, boost::iterators::detail::dereference_iterator>, boost::fusion::detail::build_tuple_cons::type = boost::tuples::cons&, boost::tuples::null_type> >, typename boost::fusion::detail::build_tuple_cons::type, Last>::type = boost::tuples::cons&, boost::tuples::null_type>, typename boost::fusion::result_of::value_of::type = double&]' ../modular-boost/boost/fusion/adapted/boost_tuple/detail/convert_impl.hpp:43:87: instantiated from 'static boost::fusion::extension::convert_impl::apply::type boost::fusion::extension::convert_impl::apply::call(Sequence&) [with Sequence = boost::fusion::transform_view*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, boost::fusion::extension::convert_impl::apply::type = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/fusion/sequence/convert.hpp:39:29: instantiated from 'typename boost::fusion::result_of::convert::type boost::fusion::convert(Sequence&) [with Tag = boost::fusion::boost_tuple_tag, Sequence = boost::fusion::transform_view*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, typename boost::fusion::result_of::convert::type = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/iterator/zip_iterator.hpp:214:44: instantiated from 'static reference boost::iterators::detail::converter::call(Seq) [with Seq = boost::fusion::transform_view*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, reference = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/iterator/zip_iterator.hpp:289:42: instantiated from 'typename boost::iterators::detail::zip_iterator_base::type::reference boost::iterators::zip_iterator::dereference() const [with IteratorTuple = boost::tuples::tuple*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type>, typename boost::iterators::detail::zip_iterator_base::type::reference = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/iterator/iterator_facade.hpp:549:32: instantiated from 'static typename Facade::reference boost::iterators::iterator_core_access::dereference(const Facade&) [with Facade = boost::iterators::zip_iterator*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >, typename Facade::reference = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/iterator/iterator_facade.hpp:655:69: instantiated from 'reference boost::iterators::detail::iterator_facade_base::operator*() const [with Derived = boost::iterators::zip_iterator*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >, Value = boost::tuples::cons&, boost::tuples::null_type> >, CategoryOrTraversal = boost::iterators::random_access_traversal_tag, Reference = boost::tuples::cons&, boost::tuples::null_type> >, Difference = long int, reference = boost::tuples::cons&, boost::tuples::null_type> >]' ../modular-boost/boost/foreach.hpp:771:58: instantiated from 'typename boost::foreach_detail_::foreach_reference::type boost::foreach_detail_::deref(const boost::foreach_detail_::auto_any_base&, boost::foreach_detail_::type2type*) [with T = std::pair*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> >, boost::iterators::zip_iterator*, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type, boost::tuples::null_type> > >, C = mpl_::bool_, typename boost::foreach_detail_::foreach_reference::type = boost::tuples::cons&, boost::tuples::null_type> >, const boost::foreach_detail_::auto_any_base& = const boost::foreach_detail_::auto_any_base&]' rnnlib4seshat/SoftmaxLayer.hpp:81:3: instantiated from here ../modular-boost/boost/fusion/adapted/boost_tuple/detail/build_cons.hpp:53:60: error: no match for 'operator*' in '*f' ../modular-boost/boost/fusion/adapted/boost_tuple/detail/build_cons.hpp: In static member function 'static boost::fusion::detail::build_tuple_cons::type boost::fusion::detail::build_tuple_cons::call(const First&, const Last&) [with First = boost::fusion::transform_view_iterator > >, boost::iterators::detail::dereference_iterator>, Last = boost::fusion::transform_view_iterator, boost::iterators::detail::dereference_iterator>, boost::fusion::detail::build_tuple_cons::type = boost::tuples::cons >, typename boost::fusion::detail::build_tuple_cons::type, Last>::type = boost::tuples::cons, typename boost::fusion::result_of::value_of::type = double&]': ../modular-boost/boost/fusion/adapted/boost_tuple/detail/build_cons.hpp:54:75: instantiated from 'static boost::fusion::detail::build_tuple_cons::type boost::fusion::detail::build_tuple_cons::call(const First&, const Last&) [with First = boost::fusion::transform_view_iterator >, boost::iterators::detail::dereference_iterator>, Last = boost::fusion::transform_view_iterator, boost::iterators::detail::dereference_iterator>, boost::fusion::detail::build_tuple_cons::type = boost::tuples::cons > >, typename boost::fusion::detail::build_tuple_cons::type, Last>::type = boost::tuples::cons >, typename boost::fusion::result_of::value_of::type = double&]' ../modular-boost/boost/fusion/adapted/boost_tuple/detail/convert_impl.hpp:43:87: instantiated from 'static boost::fusion::extension::convert_impl::apply::type boost::fusion::extension::convert_impl::apply::call(Sequence&) [with Sequence = boost::fusion::transform_view, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, boost::fusion::extension::convert_impl::apply::type = boost::tuples::cons > >]' ../modular-boost/boost/fusion/sequence/convert.hpp:39:29: instantiated from 'typename boost::fusion::result_of::convert::type boost::fusion::convert(Sequence&) [with Tag = boost::fusion::boost_tuple_tag, Sequence = boost::fusion::transform_view, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, typename boost::fusion::result_of::convert::type = boost::tuples::cons > >]' ../modular-boost/boost/iterator/zip_iterator.hpp:214:44: instantiated from 'static reference boost::iterators::detail::converter::call(Seq) [with Seq = boost::fusion::transform_view, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, reference = boost::tuples::cons > >]' ../modular-boost/boost/iterator/zip_iterator.hpp:289:42: instantiated from 'typename boost::iterators::detail::zip_iterator_base::type::reference boost::iterators::zip_iterator::dereference() const [with IteratorTuple = boost::tuples::tuple, typename boost::iterators::detail::zip_iterator_base::type::reference = boost::tuples::cons > >]' ../modular-boost/boost/iterator/iterator_facade.hpp:549:32: instantiated from 'static typename Facade::reference boost::iterators::iterator_core_access::dereference(const Facade&) [with Facade = boost::iterators::zip_iterator >, typename Facade::reference = boost::tuples::cons > >]' ../modular-boost/boost/iterator/iterator_facade.hpp:655:69: instantiated from 'reference boost::iterators::detail::iterator_facade_base::operator*() const [with Derived = boost::iterators::zip_iterator >, Value = boost::tuples::cons > >, CategoryOrTraversal = boost::iterators::random_access_traversal_tag, Reference = boost::tuples::cons > >, Difference = long int, reference = boost::tuples::cons > >]' ../modular-boost/boost/foreach.hpp:771:58: instantiated from 'typename boost::foreach_detail_::foreach_reference::type boost::foreach_detail_::deref(const boost::foreach_detail_::auto_any_base&, boost::foreach_detail_::type2type*) [with T = std::pair >, boost::iterators::zip_iterator > >, C = mpl_::bool_, typename boost::foreach_detail_::foreach_reference::type = boost::tuples::cons > >, const boost::foreach_detail_::auto_any_base& = const boost::foreach_detail_::auto_any_base&]' rnnlib4seshat/SoftmaxLayer.hpp:100:3: instantiated from here ../modular-boost/boost/fusion/adapted/boost_tuple/detail/build_cons.hpp:53:60: error: no match for 'operator*' in '*f' ../modular-boost/boost/fusion/adapted/boost_tuple/detail/build_cons.hpp: In static member function 'static boost::fusion::detail::build_tuple_cons::type boost::fusion::detail::build_tuple_cons::call(const First&, const Last&) [with First = boost::fusion::transform_view_iterator >, boost::iterators::detail::dereference_iterator>, Last = boost::fusion::transform_view_iterator, boost::iterators::detail::dereference_iterator>, boost::fusion::detail::build_tuple_cons::type = boost::tuples::cons, typename boost::fusion::detail::build_tuple_cons::type, Last>::type = boost::tuples::null_type, typename boost::fusion::result_of::value_of::type = double&]': ../modular-boost/boost/fusion/adapted/boost_tuple/detail/build_cons.hpp:54:75: instantiated from 'static boost::fusion::detail::build_tuple_cons::type boost::fusion::detail::build_tuple_cons::call(const First&, const Last&) [with First = boost::fusion::transform_view_iterator > >, boost::iterators::detail::dereference_iterator>, Last = boost::fusion::transform_view_iterator, boost::iterators::detail::dereference_iterator>, boost::fusion::detail::build_tuple_cons::type = boost::tuples::cons >, typename boost::fusion::detail::build_tuple_cons::type, Last>::type = boost::tuples::cons, typename boost::fusion::result_of::value_of::type = double&]' ../modular-boost/boost/fusion/adapted/boost_tuple/detail/build_cons.hpp:54:75: instantiated from 'static boost::fusion::detail::build_tuple_cons::type boost::fusion::detail::build_tuple_cons::call(const First&, const Last&) [with First = boost::fusion::transform_view_iterator >, boost::iterators::detail::dereference_iterator>, Last = boost::fusion::transform_view_iterator, boost::iterators::detail::dereference_iterator>, boost::fusion::detail::build_tuple_cons::type = boost::tuples::cons > >, typename boost::fusion::detail::build_tuple_cons::type, Last>::type = boost::tuples::cons >, typename boost::fusion::result_of::value_of::type = double&]' ../modular-boost/boost/fusion/adapted/boost_tuple/detail/convert_impl.hpp:43:87: instantiated from 'static boost::fusion::extension::convert_impl::apply::type boost::fusion::extension::convert_impl::apply::call(Sequence&) [with Sequence = boost::fusion::transform_view, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, boost::fusion::extension::convert_impl::apply::type = boost::tuples::cons > >]' ../modular-boost/boost/fusion/sequence/convert.hpp:39:29: instantiated from 'typename boost::fusion::result_of::convert::type boost::fusion::convert(Sequence&) [with Tag = boost::fusion::boost_tuple_tag, Sequence = boost::fusion::transform_view, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, typename boost::fusion::result_of::convert::type = boost::tuples::cons > >]' ../modular-boost/boost/iterator/zip_iterator.hpp:214:44: instantiated from 'static reference boost::iterators::detail::converter::call(Seq) [with Seq = boost::fusion::transform_view, boost::iterators::detail::dereference_iterator, boost::fusion::void_>, reference = boost::tuples::cons > >]' ../modular-boost/boost/iterator/zip_iterator.hpp:289:42: instantiated from 'typename boost::iterators::detail::zip_iterator_base::type::reference boost::iterators::zip_iterator::dereference() const [with IteratorTuple = boost::tuples::tuple, typename boost::iterators::detail::zip_iterator_base::type::reference = boost::tuples::cons > >]' ../modular-boost/boost/iterator/iterator_facade.hpp:549:32: instantiated from 'static typename Facade::reference boost::iterators::iterator_core_access::dereference(const Facade&) [with Facade = boost::iterators::zip_iterator >, typename Facade::reference = boost::tuples::cons > >]' ../modular-boost/boost/iterator/iterator_facade.hpp:655:69: instantiated from 'reference boost::iterators::detail::iterator_facade_base::operator*() const [with Derived = boost::iterators::zip_iterator >, Value = boost::tuples::cons > >, CategoryOrTraversal = boost::iterators::random_access_traversal_tag, Reference = boost::tuples::cons > >, Difference = long int, reference = boost::tuples::cons > >]' ../modular-boost/boost/foreach.hpp:771:58: instantiated from 'typename boost::foreach_detail_::foreach_reference::type boost::foreach_detail_::deref(const boost::foreach_detail_::auto_any_base&, boost::foreach_detail_::type2type*) [with T = std::pair >, boost::iterators::zip_iterator > >, C = mpl_::bool_, typename boost::foreach_detail_::foreach_reference::type = boost::tuples::cons > >, const boost::foreach_detail_::auto_any_base& = const boost::foreach_detail_::auto_any_base&]' rnnlib4seshat/SoftmaxLayer.hpp:100:3: instantiated from here ../modular-boost/boost/fusion/adapted/boost_tuple/detail/build_cons.hpp:53:60: error: no match for 'operator*' in '*f' make: *** [symfeatures.o] Error 1