---
name: "genclass"
section: "1"
platform: "linux"
package: "libg++2.8.1.3-dev"
version: "1:2.95.4-27"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/genclass"
---

# genclass(1)

generate classes from prototypes

## NAME

genclass - generate classes from prototypes

## SYNOPSIS

**genclass** *-list \[proto ...\]*\
 **genclass** *-catalog \[proto ...\]*\
 **genclass** *type1 {ref\|val} proto \[out\_prefix\]*\
 **genclass** *-2 type1 {ref\|val} type2 {ref, val} proto \[out\_prefix\]*\

## DESCRIPTION

This manual page documents briefly the **genclass** command. This manual page was written for the Debian GNU/Linux distribution (but may be used by others), because the original program does not have a manual page. Instead, it has documentation in the GNU Info format; see below.

**genclass** is a part of the GNU libg++ library to generate classes from prototypes and was used as a temporary mechanism enabling the support of generic classes in libg++. The libg++ package is no longer supported upstream (as most of its functionality is now in the standard C++ library) - do not use this for development of new software; use libstdc++ instead.

## SEE ALSO

The program is documented fully by *Libg++: The g++ class library.*, available via the Info system.  The documentation for genclass can be found in the subsection "Proto", under "Introduction to container class prototypes"

## AUTHOR

This manual page was written by the egcs maintainers for the Debian GNU/Linux system.
