This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 235513 - Assert in console while parsing template specializations
Summary: Assert in console while parsing template specializations
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 7.4
Hardware: PC Solaris
: P3 normal (vote)
Assignee: petrk
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-04 15:21 UTC by petrk
Modified: 2013-11-14 08:00 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description petrk 2013-09-04 15:21:22 UTC
template <bool val, typename T> 
struct enable_if_c {
    typedef T type;
};

template<typename T> 
struct enable_if_c<false, T> { };
  
// enable_if - Enable/disable a template based on a metafunction
template<typename Cond, typename T = void>
struct enable_if : public enable_if_c<Cond::value, T> { };
Comment 2 Quality Engineering 2013-09-06 01:37:34 UTC
Integrated into 'main-silver', will be available in build *201309060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e25d9f383bc8
User: Petr Kudryavtsev <petrk@netbeans.org>
Log: Additional fix for #235513 - Assert in console while parsing template specializations
-- added handling of other possible constructions
Comment 3 soldatov 2013-11-14 08:00:07 UTC
verified in NetBeans 7.4 patch1 build