URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 149 |
Rev 154 |
// { dg-do assemble }
|
// { dg-do assemble }
|
// Origin: Alfred Minarik
|
// Origin: Alfred Minarik
|
|
|
template
|
template
|
struct allocator
|
struct allocator
|
{
|
{
|
typedef int size_type;
|
typedef int size_type;
|
};
|
};
|
|
|
template
|
template
|
struct string
|
struct string
|
{
|
{
|
typedef typename allocator::size_type size_type;
|
typedef typename allocator::size_type size_type;
|
|
|
static size_type size;
|
static size_type size;
|
|
|
size_type
|
size_type
|
max_size() const { return size; }
|
max_size() const { return size; }
|
};
|
};
|
|
|
template struct string ;
|
template struct string ;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.