<filename>lib/fbuild/config/cxx/gnu.py<gh_stars>10-100
import fbuild.config.cxx as cxx

# ------------------------------------------------------------------------------

class hash_map(cxx.Test):
    header = cxx.header_test('hash_map')

    hash_map = cxx.template_test(test_types=['int', 'int'])

class ext_hash_map(cxx.Test):
    header = cxx.header_test('ext/hash_map')
    namespace = 'ext'

    hash_map = cxx.template_test(test_types=['int', 'int'])

class gcc_cxx_hash_map(cxx.Test):
    header = cxx.header_test('ext/hash_map')
    namespace = '__gnu_cxx'

    hash_map = cxx.template_test(test_types=['int', 'int'])

# ------------------------------------------------------------------------------

class hash_set(cxx.Test):
    header = cxx.header_test('hash_set')

    hash_set = cxx.template_test(test_types=['int', 'int'])

class ext_hash_set(cxx.Test):
    header = cxx.header_test('ext/hash_set')
    namespace = 'ext'

    hash_set = cxx.template_test(test_types=['int', 'int'])

class gcc_cxx_hash_set(cxx.Test):
    header = cxx.header_test('ext/hash_test')
    namespace = '__gnu_cxx'

    hash_set = cxx.template_test(test_types=['int', 'int'])
