Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29713594: #Too long, see below (Closed)

Created:
March 2, 2018, 3:40 p.m. by sergei
Modified:
March 6, 2018, 4:21 p.m.
Base URL:
github.com:adblockplus/adblockpluscore
Visibility:
Public.

Description

Noissue - move the check whether a template parameter of `intrusive_ptr` inherits `ref_counted` in `static_assert`. It is in the class definition and it allows to use it with yet incomplete class, e.g. `class Subscription; typedef intrusive_ptr<Subscription> SubscriptionPtr;`. Review: https://codereview.adblockplus.org/29713594 # Extracted from https://codereview.adblockplus.org/29548581/

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M compiled/intrusive_ptr.h View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4
sergei
March 2, 2018, 3:43 p.m. (2018-03-02 15:43:05 UTC) #1
hub
StringMap.h and String.h also have instances of enable_if<> we could replace with static_assert
March 2, 2018, 5:06 p.m. (2018-03-02 17:06:19 UTC) #2
sergei
On 2018/03/02 17:06:19, hub wrote: > StringMap.h and String.h also have instances of enable_if<> we ...
March 5, 2018, 11:47 a.m. (2018-03-05 11:47:05 UTC) #3
hub
March 5, 2018, 2:21 p.m. (2018-03-05 14:21:22 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld