Changeset 2871210 for src/Common


Ignore:
Timestamp:
Jul 3, 2015, 6:08:20 PM (10 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, string, with_gc
Children:
f6d7e0f
Parents:
0df292b
Message:

include file with keywords, fix type of label address expressions, fix computed goto to any expressions, generic types first attempt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/Common/utility.h

    r0df292b r2871210  
    1010// Created On       : Mon May 18 07:44:20 2015
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Jun  8 14:43:54 2015
    13 // Update Count     : 13
     12// Last Modified On : Thu Jul  2 18:04:41 2015
     13// Update Count     : 16
    1414//
    1515
     
    8686}
    8787
    88 static inline std::string assign_strptr( std::string *str ) {
     88static inline std::string assign_strptr( const std::string *str ) {
    8989        if ( str == 0 ) {
    9090                return "";
     
    9797}
    9898
    99 template< class T, typename ResultType, ResultType (T::* memfunc)() >
     99template< class T, typename ResultType, ResultType( T::* memfunc )() >
    100100ResultType dispatch( T *pT ) {
    101101        return (pT->*memfunc)();
Note: See TracChangeset for help on using the changeset viewer.