Hi Zheng Luo, My name is Ruoyun Jing, a third year student from Northwest University in China, these is the first time i participate in GSoc. For we come from same country, :) can i have your wechat or QQ to ask you some questions about GSoC ?:) Looking forward from you!! Thanks. 2017-03-04 0:18 GMT+08:00 Vic Luo via Boost <boost@lists.boost.org>:
Hi,
I'm Zheng Luo, a third-year undergraduate from Shanghai Jiaotong University who have special interest in C++ programming(especially for templates). This is my second year of applying Google Summer of Code and I'm willing to contribute to Static Map project mentioned on SoC2017 page. Previously I worked for a company as a C++ intern for months on Chromium-related projects where I gained some experience about C++ in industry.
And my question is, am I allowed to implement the competency test of static_map in g++-7? I have just implemented my own version of static_map which supports the following operations:
constexpr StaticMap<int, const char *, 3> m(make_pair(2, "abc"), make_pair(4, "def"), make_pair(6, "ghi"));
if (!m[4]) abort(); const char *foo = m[2]; return 0;
which is compiled into assembly as:
main: xorl %eax, %eax ret
under g++-7 with -std=c++1z -O3
So I was wondering did I pass the test?
Thanks,
-- --------------------------------- Vic Luo Shanghai Jiaotong University
Key fingerprint 0x98809ca08bf5662a
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/ mailman/listinfo.cgi/boost
-- Northwest University of China Software Engineering jingry0321@gmail.com <jingry0321@163.com>