Opened 9 years ago

Closed 8 years ago

#8622 closed Patches (fixed)

Remove use of `boost::blank`

Reported by: K-ballo <kaballo86@…> Owned by: Joel de Guzman
Milestone: To Be Determined Component: fusion
Version: Boost Development Trunk Severity: Not Applicable
Keywords: Cc:

Description

The attached patch replaces uses of boost::blank for boost::mpl::void_ within Fusion begin/end_impl added at rev73854.

Attachments (1)

fusion.blank.patch (1.7 KB ) - added by K-ballo <kaballo86@…> 9 years ago.
patch

Download all attachments as: .zip

Change History (4)

by K-ballo <kaballo86@…>, 9 years ago

Attachment: fusion.blank.patch added

patch

comment:1 by K-ballo <kaballo86@…>, 9 years ago

It seems from the SVN logs that SFINAE was intended here. However, under C++11 rules this is no longer a valid case for SFINAE.

in reply to:  1 comment:2 by Kohei Takahashi <flast@…>, 8 years ago

Replying to K-ballo <kaballo86@…>:

However, under C++11 rules this is no longer a valid case for SFINAE.

Did you point attached your patch? If so, this ticket can be closed.

Or replacing such implementation with like a following would be good.

template <typename Tag>
struct begin_impl
{
    template <typename Sequence>
    struct apply
        : enable_if<is_segmented<Sequence>,
                    detail::segmented_begin<Sequence> >
    {};
};

comment:3 by Joel de Guzman, 8 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.