Better HN
topnewbestaskshowjobs
Log inSign up

ianwong1999

1 karma · joined Dec 25, 2021 (4y ago) · 2 submissions

Submissions

comment 2y ago · link · parent

The code example in approach 2 looks ill-formed though. If you change line 12 to auto to let compiler deduce the return type, you will see error message "explicit specialization of 'clock_impl' after instantiation".

ref: https://stackoverflow.com/questions/36997351/using-a-templat...

So not very sure how to elegantly inject our mock into the main code via the test section.

comment 4y ago · link · parent

Location: Hong Kong

Remote: Yes

Willing to relocate: No

Technologies: C/C++, Python, Kotlin, Java

Résumé/CV: Upon request

Email: ianwong1999@yahoo.com.hk

Linkedin: https://www.linkedin.com/in/yik-chun-wong-502731171/

Codeforces: https://codeforces.com/profile/Bedge

I am a software engineer that passionate about problem-solving and continuous learning. Have constantly been participating in competitive programming using C++ since high school.