189029Sjhb// { dg-do compile } 289029Sjhb// { dg-options "-std=gnu++0x" } 389029Sjhb 489029Sjhb// 2007-10-12 Paolo Carlini <pcarlini@suse.de> 589029Sjhb 689029Sjhb// Copyright (C) 2007, 2009 Free Software Foundation, Inc. 789029Sjhb// 889029Sjhb// This file is part of the GNU ISO C++ Library. This library is free 989029Sjhb// software; you can redistribute it and/or modify it under the 1089029Sjhb// terms of the GNU General Public License as published by the 1189029Sjhb// Free Software Foundation; either version 3, or (at your option) 1289029Sjhb// any later version. 1389029Sjhb 1489029Sjhb// This library is distributed in the hope that it will be useful, 1589029Sjhb// but WITHOUT ANY WARRANTY; without even the implied warranty of 1689029Sjhb// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1789029Sjhb// GNU General Public License for more details. 1894929Sgerald 1994929Sgerald// You should have received a copy of the GNU General Public License along 2094929Sgerald// with this library; see the file COPYING3. If not see 2194929Sgerald// <http://www.gnu.org/licenses/>. 2289029Sjhb 2389029Sjhb 2489029Sjhb#include <algorithm> 2589029Sjhb#include <functional> 2689029Sjhb#include <testsuite_api.h> 2789029Sjhb 2889029Sjhbnamespace std 2989029Sjhb{ 3089029Sjhb using __gnu_test::NonDefaultConstructible; 3189029Sjhb 3289029Sjhb typedef NonDefaultConstructible value_type; 3389029Sjhb typedef value_type* iterator_type; 3489029Sjhb typedef std::less<value_type> compare_type; 35109921Sjake 36109921Sjake template iterator_type is_heap_until(iterator_type, iterator_type); 37109921Sjake template iterator_type is_heap_until(iterator_type, iterator_type, 38109921Sjake compare_type); 3989029Sjhb} 4089029Sjhb