From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2792 invoked by alias); 27 Nov 2011 21:25:23 -0000 Received: (qmail 2782 invoked by uid 22791); 27 Nov 2011 21:25:22 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from shark.2a.pl (HELO shark.2a.pl) (195.117.102.3) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Sun, 27 Nov 2011 21:25:06 +0000 Received: from av.2a.pl (av.2a.pl [195.117.102.9]) by shark.2a.pl (Postfix) with ESMTP id D0F972A6D8C for ; Sun, 27 Nov 2011 22:25:03 +0100 (CET) Received: from shark.2a.pl ([195.117.102.3]) by av.2a.pl (av.2a.pl [195.117.102.9]) (amavisd-new, port 10024) with ESMTP id iiMTDrurqDlk for ; Sun, 27 Nov 2011 22:24:58 +0100 (CET) Received: from [10.8.1.26] (unknown [10.8.1.26]) by shark.2a.pl (Postfix) with ESMTPA id 8600A2A6D4C for ; Sun, 27 Nov 2011 22:24:56 +0100 (CET) Message-ID: <4ED2AA94.808@stegny.2a.pl> Date: Mon, 28 Nov 2011 14:43:00 -0000 From: =?UTF-8?B?S3J6eXN6dG9mIMW7ZWxlY2hvd3NraQ==?= User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20110929 Firefox/7.0.1 SeaMonkey/2.4.1 MIME-Version: 1.0 To: gcc-help@gcc.gnu.org Subject: skipping 4 instantiation contexts Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-11/txt/msg00276.txt.bz2 Code: > #include > #include > #include > #include > #include > int main () > { > ::boost:: fusion:: result_of:: transform > < ::std:: pair< int, int> const, int>:: type > const&v ((::boost:: fusion:: transform (::std:: make_pair (0, 01), 01))); > // fails in boost:: result_of< int> > return ::std:: cout<< v<< '\n'? > +EXIT_SUCCESS: +EXIT_FAILURE; } The code is (obviously) ill-formed and it does not compile, but it is not the point. I get the following message: > /usr/include/boost/mpl/aux_/preprocessed/gcc/apply.hpp:48:1: [ > skipping 4 instantiation contexts ] Can I get a full traceback? I am interested in what happens in the guts (in particular, operator *). Of course, I could try to reproduce the context of the caller explicitly but that is rather troublesome. In this particular case, it requires the following code: > typedef > ::boost:: fusion:: result_of:: begin > < > ::boost:: fusion:: transform_view< ::std:: pair< int, int> const, int> >:: > type > const&offending_iterator_20; > template > void ::boost:: fusion:: detail:: print_sequence_loop:: call > (::std:: ostream&, offending_iterator_20, offending_iterator_20, > boost:: mpl:: false_); Chris