GCC Middle and Back End API Reference
typed_free_remove< Type > Struct Template Reference

#include <hash-traits.h>

Inheritance diagram for typed_free_remove< Type >:

Static Public Member Functions

static void remove (Type *p)
 

Detailed Description

template<typename Type>
struct typed_free_remove< Type >
Traits for hashable types.
   Copyright (C) 2014-2024 Free Software Foundation, Inc.

This file is part of GCC.

GCC is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free
Software Foundation; either version 3, or (at your option) any later
version.

GCC is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3.  If not see
<http://www.gnu.org/licenses/>.   
Helpful type for removing with free.   

Member Function Documentation

◆ remove()

template<typename Type >
void typed_free_remove< Type >::remove ( Type * p)
inlinestatic
Remove with free.   

References free().


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