proxygen
folly::DestructorCheck::ForwardLink Class Reference

#include <DestructorCheck.h>

Inheritance diagram for folly::DestructorCheck::ForwardLink:
folly::DestructorCheck::Safety

Private Member Functions

void setAllDestroyed ()
 

Private Attributes

Safetynext_ {nullptr}
 

Friends

class DestructorCheck
 
class Safety
 

Detailed Description

Definition at line 65 of file DestructorCheck.h.

Member Function Documentation

void folly::DestructorCheck::ForwardLink::setAllDestroyed ( )
inlineprivate

Definition at line 69 of file DestructorCheck.h.

References folly::gen::guard(), and next_.

Referenced by folly::DestructorCheck::~DestructorCheck().

69  {
70  for (auto guard = next_; guard; guard = guard->next_) {
71  guard->setDestroyed();
72  }
73  }
GuardImpl guard(ErrorHandler &&handler)
Definition: Base.h:840

Friends And Related Function Documentation

friend class DestructorCheck
friend

Definition at line 84 of file DestructorCheck.h.

friend class Safety
friend

Definition at line 85 of file DestructorCheck.h.

Referenced by folly::DestructorCheck::Safety::~Safety().

Member Data Documentation

Safety* folly::DestructorCheck::ForwardLink::next_ {nullptr}
private

The documentation for this class was generated from the following file: