~ubuntu-branches/ubuntu/maverick/aspectc++/maverick

« back to all changes in this revision

Viewing changes to Puma/tests/bug149/bug149.cc

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-04-10 17:40:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080410174052-xdnsm7oi8hauyyf1
Tags: 1.0pre4~svn.20080409+dfsg-3
Fix another missing include, this time in Ag++/StdSystem.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
template <class T>
 
2
class sc_signal {
 
3
    virtual void register_port(const char* );
 
4
    virtual void write( const T& );
 
5
};
 
6
template <class T>
 
7
inline void sc_signal<T>::register_port(const char* if_typename_ ) {}
 
8
template <class T>
 
9
inline void sc_signal<T>::write( const T& value_ ) {}
 
10
 
 
11
template <>
 
12
class sc_signal<bool> {
 
13
    virtual void register_port(const char* );
 
14
    virtual void write( const bool& );
 
15
};
 
16
inline void sc_signal<bool>::register_port(const char* if_typename_ ) {}
 
17
inline void sc_signal<bool>::write( const bool& value_ ) {}
 
18
 
 
19
template <>
 
20
class sc_signal<int> {
 
21
    virtual void register_port(const char* );
 
22
    virtual void write( const int& );
 
23
};
 
24
inline void sc_signal<int>::register_port(const char* if_typename_ ) {}
 
25
inline void sc_signal<int>::write( const int& value_ ) {}