Opened 16 years ago

Closed 12 years ago

Last modified 12 years ago

#861 closed Patches (fixed)

Detect nested template members with has_template_xxx

Reported by: daniel_walker Owned by: Aleksey Gurtovoy
Milestone: Component: mpl
Version: None Severity: Problem
Keywords: Cc:

Description

This patch is for Boost.MPL. Apply with 'patch -p0 <
djw_has_template.patch' from the boost root directory. See discussion at http://tinyurl.com/35x5z5.

Attachments (2)

has_xxx_template.patch (43.7 KB ) - added by Steven Watanabe 13 years ago.
Recreated patch
has_xxx_template.2.patch (43.7 KB ) - added by Steven Watanabe 12 years ago.
Revised patch. I've checked that the docs build correctly, and run the tests with MSVC 10, as well.

Download all attachments as: .zip

Change History (8)

comment:1 by daniel_walker, 16 years ago

Summary: Detect nested template members with has_template_xxx[mpl] Detect nested template members with has_template_xxx
Logged In: YES 
user_id=1226757
Originator: YES

I uploaded a revision of the previous patch with documentation, tests, and support for multiple compilers. Apply with 'patch -p0 < djw_has_xxx_template.patch' from the boost root directory. See the discussion on the thread at http://tinyurl.com/35x5z5 for information about changes from the previous patch.
File Added: djw_has_xxx_template.patch

comment:2 by Daryle Walker, 15 years ago

Component: Nonempl
Severity: Problem
Summary: [mpl] Detect nested template members with has_template_xxxDetect nested template members with has_template_xxx

by Steven Watanabe, 13 years ago

Attachment: has_xxx_template.patch added

Recreated patch

comment:3 by Steven Watanabe, 13 years ago

I've updated the patch to support msvc-9.0. #864 is blocked by this.

comment:4 by Frank Mori Hess, 13 years ago

Just to add my 2 cents, I found this ticket while searching for just this capability in mpl. I think it would be a worthwhile feature.

by Steven Watanabe, 12 years ago

Attachment: has_xxx_template.2.patch added

Revised patch. I've checked that the docs build correctly, and run the tests with MSVC 10, as well.

comment:5 by Steven Watanabe, 12 years ago

Resolution: Nonefixed
Status: assignedclosed

(In [62579]) Add BOOST_MPL_HAS_XXX_TEMPLATE_DEF. Fixes #861

comment:6 by Aleksey Gurtovoy, 12 years ago

(In [63518]) Merged revisions 62579 via svnmerge from https://svn.boost.org/svn/boost/trunk

........

r62579 | steven_watanabe | 2010-06-08 09:24:55 -0500 (Tue, 08 Jun 2010) | 1 line

Add BOOST_MPL_HAS_XXX_TEMPLATE_DEF. Fixes #861

........

Note: See TracTickets for help on using tickets.