blob: ee4c5441e7c3e787e4f30a40d57877af5709f8e5 [file] [log] [blame]
//===----------------------------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// <queue>
// template <class T, class Container = vector<T>,
// class Compare = less<typename Container::value_type>>
// class priority_queue
// {
// public:
// typedef Container container_type;
// typedef typename container_type::value_type value_type;
// typedef typename container_type::reference reference;
// typedef typename container_type::const_reference const_reference;
// typedef typename container_type::size_type size_type;
//
// protected:
// container_type c;
// Compare comp;
#include <stack>
#include <cassert>
#include <type_traits>
int main()
{
// LWG#2566 says that the first template param must match the second one's value type
std::stack<double, std::deque<int>> t;
}