---
name: "std::tr1::weak_count"
section: "3"
platform: "linux"
package: "libstdc++6-4.1-doc"
version: "4.1.1-21"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/std::tr1::weak_count"
---

# std::tr1::weak\_count(3)

## NAME

std::tr1::weak\_count -

## SYNOPSIS

## Detailed Description

Definition at line 331 of file boost\_shared\_ptr.h.

### Public Member Functions

**weak\_count** & **operator=** (const **weak\_count** &\_\_r)\
 **weak\_count** & **operator=** (const **shared\_count** &\_\_r)\
 void **swap** (**weak\_count** &\_\_r)\
 long **use\_count** () const\
 **weak\_count** (const **weak\_count** &\_\_r)\
 **weak\_count** (const **shared\_count** &\_\_r)\
 **weak\_count** ()\
 **~weak\_count** ()\

### Friends

bool **operator\<** (const **weak\_count** &\_\_a, const **weak\_count** &\_\_b)\
 bool **operator==** (const **weak\_count** &\_\_a, const **weak\_count** &\_\_b)\
 class **shared\_count**\

## Author

Generated automatically by Doxygen for libstdc++ from the source code.
